Login  Register

com.jogamp.graph.curve.opengl.TextRenderer without shader?

Posted by aqd on Aug 02, 2014; 1:48pm
URL: https://forum.jogamp.org/com-jogamp-graph-curve-opengl-TextRenderer-without-shader-tp4032687.html

Hello jogl devs!

I'm trying to replace old TextRenderer with the curve one in WorldWind's SurfaceText, which renders text for each shape onto a tile texture and then apply the texture to virtual globe. The problem is that if I don't turn off shader, the rendering ignores current matrix (set for each shape inside the tile texture) and draws all text to the center of tile texture instead of the center of each shape.

What does the shader do? If it has to be turned on, how can I fix the matrix?