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