Normal-mapped sprite lighting
Add a height map to a flat picture to find a normal line for each pixel, and calculate the shade and reflection with the light of the moving torch to make the 2D picture appear three-dimensional.
- Category
- 2D visual effects
Technical terms · Normal-mapped sprite lighting · Height map → normal (central differences) · Point light attenuation 1/(1 + k·d²) · Blinn-Phong specular