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. See more WebGL lighting examples.

Learn 3D Programming with Screen Shots Learn 3D Programming with Screen Shots
Copyright © 2015 Seven Thunder Software. All Rights Reserved.