LWJGL tutorial series on how to create a 3D Java game with OpenGL!
This week we add per-pixel diffuse lighting to the game, making everything look that little bit more epic!
Common Problems:
-If your dragon seems to have lots of white and black patches then it could be one of 2 problems:
1. Your texture dimensions might not be powers of 2 (64x64, 128x128, 256x256 etc.)
2. If they are powers of 2 then try adding the following lines to the end of the loadTexture() method, just before returning the textu