I'm trying to get this Leolol project to work better. It's fairly basic but I'm having a hell of a time with the texture on this model.
The original project is here:
http://www.leolol.com/drupal/tutorials/3d-graphics-jogl-opengl-etc/jogl-sandbox-environment-tutorial-seriesHere is the project I'm compiling:
https://github.com/jlangdale/Testing-JOGLI can't figure out how to get the texture on the OBL model to map properly, or maybe how to get the lighting to work properly with GLSL shaders. I saw a post here about his project:
http://www.opengl.org/discussion_boards/showthread.php/175997-Please-Help-Bump-Mapping-Multi-Texture-Problem?p=1229257#post1229257I realize in the comments he said that he didn't include all of the shader code he was using, and only published a basic vertex/fragment shader.
On the forum, he showed that his GL project was looking like this:
http://imgur.com/a/ceDpgBut this is the best I've been able to do with the code:
http://imgur.com/RhWHyAny help steering me in the right direction would be greatly appreciated.
Jonathan