Login  Register

Re: Render to texture problem

Posted by elect on Feb 20, 2012; 2:34pm
URL: https://forum.jogamp.org/Solved-Render-to-texture-problem-tp3760645p3760875.html

gouessej wrote
Your missing point should be green, not red.

Yep, you are right, I confused the color...

Btw,

gl.glPushAttrib(GL2.GL_VIEWPORT_BIT);
gl.glViewport(0, 0, floorWidth, floorHeight);

...

gl.glPopAttrib();