top of page
TECH ART & GRAPHICS
LIGHTING MODELS
Phong, Blinn-Phong and per-vertex Gouraud shading written from scratch in GLSL for a WebGL renderer. Blinn-Phong swaps the reflection vector for the light/view half vector, giving broader highlights with a softer falloff. Gouraud is cheaper but loses highlights smaller than the triangle spacing.
Tools: GLSL, WebGL, JavaScript
Tools: GLSL, WebGL, JavaScript
Tools: GLSL, WebGL, JavaScript
bottom of page


