Login  Register

Re: Learning JOGL and related topics.

Posted by Demoscene Passivist on Aug 12, 2011; 2:43pm
URL: https://forum.jogamp.org/Learning-JOGL-and-related-topics-tp3167983p3249419.html

>Although I'm excited to have gotten this working, I still have to consider if this is the proper
>way to have multiple textures. The whole reason I came to learn OpenGL is because
>I wanted to make some huge games.

Changing the texture data instead of "binding" a new texture is definitly not the proper way to do multitexturing, though I must admit ur approach is quite "suprising"

The correct way to do multitexturing is shown here (though in conjunction with shaders).

U simply have to bind the different textures to different texture units. It's a simple as that :)