This demo uses WebGL fragment shaders to map a pixel coordinate to an equirectangular panorama image. It projects a 180° view in motion using the stereographic projection.
The amount of processing time required for applying a non-rectilinear projection in a game is significant, and was seen while creating Blinky, a panoramic mod for Quake. The use of fragment shaders speeds up this process by computing each pixel in parallel on the GPU. This demo demonstrates its speed.
Created October 30, 2011