3D Compass with Directional Light
Render to Texture with Directional Light
Swipe to Rotate the Compass
This WebGL example applies directional light to a 3D model of a compass. The compass looks like it's made of metal or anodized aluminum. Lighting helps define the shape of the compass. The vertex shader declares light location, light color, and ambient color. The vertex shader computes directional light. The compass is also mapped with a baked texture which adds to the light effect.
If a picture's worth a thousand words, then a 3D model's worth ten thousand words! Consider 3D interactive content for learning, media, and marketing. Seven Thunder Software develops 3D models for Web design, with optimized (fast loading) 3D rendering software, from photographs, blue prints, ideas, and real objects.