Hi,
I'm using sprites for text rendering. I need to enable z-buffer (depth) for text, but standart function does not require 3rd component, only X and Y.
Vector3 point = Vector3.Project(....);
if (!string.IsNullOrEmpty(textToRender))
{
infoLine.DrawText(sprite, textToRender, (int)point.X, (int)point.Y, black);
}
So my text is always "at the top", and I need to hide it under other elements. What can I do?
EDIT: infoLine is a SharpDX.Direct3D9.Font class member

Find content
Not Telling

