OpenGL/GLSL shaders
A collection of GLSL shaders featuring various real-time rendering techniques.
Image-based lighting and irradiance maps
Mesh by Keenan Crane. Continue reading Image-based lighting and irradiance maps
Environment mapping via cubemap reflection
Continue reading Environment mapping via cubemap reflectionNormal mapping
Mesh by Keenan Crane. Continue reading Normal mapping
Flat shading
One color per triangle, given by the provoking vertex; no vertex interpolation. Mesh by Keenan Crane. Continue reading Flat shading
Phong reflection model
Ambient, diffuse, and specular reflection. Continue reading Phong reflection model