Login  Register

Re: [TextRenderer] Using depth test in 2D mode

Posted by Djak on Dec 15, 2010; 11:13am
URL: https://forum.jogamp.org/TextRenderer-Using-depth-test-in-2D-mode-tp2084831p2091381.html

Hi,
thank you :)
I tried to enable depth-test in beginRendering() but result is the same.
Here is what I'm doing :
- drawing spheres in a loop
- beginRendering(xxx, xxx, true)
- drawing text in a loop
- endRendering()

and I need depth-test to be done between spheres and texts.
Anyone knows if it's possible with 2d mode of TextRenderer ?

Thanks in advance :)