WebGL Simple Lighting on a Sphere
Swipe to Spin the Sphere
See simple lighting on a sphere. Spin the sphere. Light and shadow remain the same while the texture rotates with the sphere.
This WebGL example displays very simple lighting on a sphere. Shaders apply lighting based on X and Y vertex coordinates only.