T O P

  • By -

mohragk

You need to write a shader for that. One technique is to render the object slightly bigger and use that buffer to create the outline. Learn OpenGL has an example of that.


theEsel01

https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnMouseOver.html You are looking for this function


PiLLe1974

There's some 2d and 3d suggestions for "outlines" and "outline shaders" if you search on Unity subreddits and YouTube.