Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Dot mapping (or dot gradient mapping) is used as a fast skin shading approximation solution, that is cheap resource-wise.

Asset requirements

  • dot gradient map texture which is used as a lookup table and describes how the light behaves on a curved surface (it tints the diffuse component).

Note

Note!

...

The texture sampling needs to be set to Clamped. The U Axis in texture space is computed from the dot product of the surface normal and the incoming light direction.

  • a skin texture RGBA (GBA not used) where Red channel is used to control the V axis in texture space of the dot map texture.

  • dot map texture is provided with the Animaze Editor

...