Change Z-Testing opacity

Is there a way to modify the opacity for Z-Testing via scope or w/e?

It’s not exposed in an easy way, but I think you should be able to use:

DrawingManager.instance.gizmos.lineMaterial.SetColor("_FadeColor", new Color(1,1,1, myDesiredAlpha));

You can similarly set the opacity for surfaceMaterial and textMaterial.

1 Like

Hi

This is now also possible in the project settings: