Hey guys I need some help with my game rendering engine from someone with a bit more experience than I currently have as I cannot get my models to load properly.
The game is coded in OpenGL and Java and uses GLSL 130 for shader support. What happens is when I load one single object it will render properly and have lighting and ambient lighting and everything else works great. I can load up 1000+ of the same model onto my screen and they all render properly. But if I load a second model, the second model that is rendered will come up properly but the first model will be distorted. I cannot switch to a higher GLSL version so I am currently using #version 130.
The game is using lwjgl (latest version 2, legacy) and slicktools.
Here is a screen shot of my problem to see what I mean for you guys:
Since my terrain is the final shader to run, it loads properly and all the other models are distored from that point on. Hopefully someone can help me work out this rendering issue.
Here is the source code for my game so far (from eclipse):
http://www.megafileupload.com/9j6k/Redwall_Source_-_v1.rar (2.48 MB)