Zoom Shader
Lighthouse
Swipe Over the Lighthouse
Swipe to zoom in and out, with WebGL GLSL shaders. This example zooms a lighthouse photograph, however load any WebGL compatible image.
The Charlotte-Genesee Lighthouse is an 1822 stone octagonal lighthouse. The 40 ft (12 m) tower originally had 10 whale oil Argand lamps, which were replaced with a Fresnel lens in 1853.
Simple Shaders: Learn WebGL Book 4
Learn the basics of WebGL shader programming withSimple Shaders: Learn WebGL Book 4. This book covers seven projects with unique shaders, in detail, providing an overview of GLSL (OpenGL Shading Language), which is the shader language used for WebGL. See the following projects online
Spotlight Across Text, Radiating Colors, Cube Vertex Colors, Color Filters, Zoom Shader, Spotted Balloon Burstsand
Colors Fade. Most shaders activate as you swipe over the canvas. See various visual effects including color animation, zooming, color filters, a traveling spotlight and expanding mesh.
Simple Shaders
explains how to prepare basic WebGL GLSL shaders.
This new Kindle book includes detailed instruction and links to many interesting
WebGL shader examples online.
Learn to program WebGL shaders. Harness the power of the Graphics Processing Unit (GPU).