- Home /
Make hidden gizmos invisible
Hi,
I use gizmo to draw lines around an object, and I noticed that the lines behind the object are displayed though they are transparent. I would like to make those lines invisible (gizmos behind the objects should not be displayed). Maybe I don't use the right method ?
Thanks,
Let me explain what I am trying to do: I would like to display the edges of an object, but only the visible parts of these edges (the parts where there is nothing between these parts and the camera). I color these edges in red, and my object is white. Afterwards, I save the image into a png file, and I want to retrieve these lines by filtering the red color. That is for an image analysis problem, I am not using this feature in a game, so I recognize my use is a little borderline... :)
Your answer
Follow this Question
Related Questions
Gizmo disappeared when custom editor 0 Answers
Custom inspector draw Gizmos 0 Answers
Gizmo equivalent of Handles.DrawSolidArc? 0 Answers
Accessing Unity 3.4 gizmos through code. 1 Answer
Gizmos drawing units 1 Answer