3D drawing on render targets needs depth
🖼️ Rendering•Updated 2 days ago•0 views
Call render.enableDepth(true) before drawing 3D content into the RT so depth testing works - otherwise shapes z-fight/overdraw incorrectly.
How to use 3D draw functions on render targets
Call render.enableDepth(true) before drawing 3D content into the RT so depth testing works - otherwise shapes z-fight/overdraw incorrectly.