Re: Learning JOGL and related topics.
Posted by millerni456 on Aug 08, 2011; 10:51pm
URL: https://forum.jogamp.org/Learning-JOGL-and-related-topics-tp3167983p3237118.html
Thanks for helping me with the camera, but I am still stuck on textures. I visited the discussion you posted a link of, and to be honest, It blows my mind. O_o
I also did purchase that OpenGL super bible, and It has a lot of great information in it, and has helped me a lot. Although, I did get the most recent one, and it goes about using shaders.
If you could post some information on how to use Shaders in OpenGL and/or what Shaders are and what they do that'd be great.
Also, if you could post information on how to use textures the JOGL way, that'd be appreciated as well.
I've tried using the Texture class provided by JOGL, gave it an image, then enable/bind it.
This worked except I couldn't add a second texture. If I need to use the GL_TEXTURE0 - GL_TEXTURE8 could you please explain how I can do this? If I do need to, I think I will need to use glGenTextures(), which I'm not sure how to use.
Thanks for the help, It's great to have someone who can understand this stuff and be able to share their knowledge.
Regards, Nick.