|
Hi,
what does anyone adept in JOGL does when you have a scene and you got repeat models, which have the same texture and use the same shader programs.
Do you need to recreate the shader programs and get a different program index for very model geometry that's in the scene or do you do create shader program once and just reuse the shader program index?
If you don't understand my question, I will paste the code from the helloTriangle to reference what I mean.
Thanks
|