Support Forum

Set color for behind-object gizmo rendering?


Say I am rendering a wire box gizmo behind a normal plane object, ALINE is able to show some darker color gizmo by rendering behind objects.

I know _FadeColor is in charge of controlling behind-object gizmo color, BUT setting it on the aline_outline material has no effect, and I know ALINE is using aline_outline.shader as I checked Frame Debugger.

So I had to manually update the shader to get what I want, preferably, I would like to control its behaviour via code.



Would you want to control this behavior per object or is a global setting enough?

For now I am ok with a global setting (which is basically what I did by changing the shader).