Login  Register

Re: Translating a rotated model.

Posted by gouessej on Sep 30, 2014; 7:22pm
URL: https://forum.jogamp.org/Translating-a-rotated-model-tp4033250p4033260.html

You can use com.jogamp.opengl.util.glsl.fixedfunc.FixedFuncUtil and com.jogamp.opengl.util.PMVMatrix in order to use the emulation of the fixed pipeline for the programmable pipeline. What you do in your shader is already done in JMonkeyEngine 3 but it's a lot more flexible.
Julien Gouesse | Personal blog | Website