Draw.Text doesn't work with ZTest
Using the following code:
using( Draw.Command( cam ) )
{
Draw.BlendMode = ShapesBlendMode.Transparent;
Draw.ZTest = UnityEngine.Rendering.CompareFunction.Always;
Draw.Text(txt, pos.ToVector3(h), rot, text, 2.25f, textColor);
Draw.Disc(pos.ToVector3(h), rot, 0.04f, pointColor);
}
The points, lines, disc, etc all draw on top of other geometry. But the Text does not.
Edit - Might this be due to the 4.2.0 performance changes to Text. I understand that some features like masking might be a real pain, but disabling depth testing customization is surely a critical feature for text.
What if you added to the API an option to let us push/pop a `TextMaterial` Material on to draw with, so that way we can supply our own custom setups for drawing text?