Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 drawtext 方法在网格上创建标签。完美运行 - 但它们始终位于网格中显示的网格前面。
是否有可能将其渲染在对象内部不可见的网格后面?
似乎drawtext不使用深度缓冲区:-(
尝试禁用 z 缓冲区:
Device.SetRenderState(D3DRS_ZENABLE,FALSE)