Reflection and environment map explorer

A reflection map looks a cube map up in the direction a view ray would take after bouncing off the surface. This page combines the five textbook samples (reflectionMap, reflectionMap1, reflectionMap2, reflectingCube, reflectingSphere) and extends them with richer environments, materials, a dynamic environment, and a split-screen compare that draws the same object twice with one setting changed.

Oops ... your browser doesn't support the HTML5 canvas element
Drag to orbit the camera · scroll to zoom
Static environment, each face as seen from inside the cube
Example and comparison

Object
Material
Environment
Reflection vector
View

Notes on what the samples do and what is approximated