1

I use the drawtext method to create labels on a grid. Works perfectly - but they are always in front of the mesh im showing in the grid.

Is there a possibility to render it behind the mesh that its not visible inside the object?

Seems like drawtext uses no depth buffer:-(

user1095428
  • 71
  • 1
  • 4

1 Answers1

0

Try disabling the z-buffer:

Device.SetRenderState(D3DRS_ZENABLE,FALSE)
j.w.r
  • 4,136
  • 2
  • 27
  • 29
Xaggre
  • 1