Re: Can someone go over the mechanics of rendering shaders and texture objects
Posted by ElvJOGL on Feb 12, 2016; 1:28pm
URL: https://forum.jogamp.org/Can-someone-go-over-the-mechanics-of-rendering-shaders-and-texture-objects-tp4036186p4036188.html
I hope you don't mind @elect I forked you helloTriangle project.
I will read on it as much as possible.
Thank you.
But one question, for rendering a model one only calls the shaders and the texture binding once right? and then just continue displaying the image.
Or the shaders and texture binding continue to happen as much as you continue to render the model?
In other words, does calling the shader to compile and binding it to the program and running the program as well for the texture, does that happen in the Init(GLAutoDrawable) method and then the transformation of the viewport happens in the render(...) method?