Since June 7, 2018, the repository will no longer be updated here. All updates and other projects will now be on the GitLab
JOGL (Java OpenGL) Examples
- Shaders with 2 matrices
- Shaders with 3 matrices
- Shaders with 3 matrices (Model-View-Projection) and simple lighting
- Shaders with 3 matrices (Model-View-Projection) and simple lighting with several lamps
- Shaders with 3 matrices (Model-View-Projection), simple lighting with several lamps and texture
- Ambient+diffuse+specular colorful lighting with several lamps, animation and texture
- Ambient+diffuse+specular colorful lighting with several lamps, animation, texture and lamps prop
Small fix for lamps:// updating lamps eye space position
for (int i = 0; i<lamps.length; i++) lamps[i].calculateLampPosInEyeSpace(mViewMatrix);
Add this todisplay
method
This is necessary to add in the event that on your scene the lamps do not move, but the camera moves - Ambient+diffuse+specular colorful lighting with several lamps, animation, texture, lamps prop, attenuation and OBJ models loading
- Ambient+diffuse+specular colorful lighting with several lamps, animation, texture, lamps prop, attenuation and, models loading and lighting maps
- + Normal Mapping
Video - + Shadow Mapping with soft shadows