Lighting Component

Adds lighting to the rendered model. Removing this component results in a pre-lit or unlit model that displays the diffuse texture (if the Diffuse component is added) without any shading changes.

 The Animaze shader supports a maximum of 4 lights of any type: directional or omni.

Asset requirements

  • Geometry exported with Normals info

  • Geometry exported with Tangent or Binormal info

  • Specular Map Texture – RGBA texture. The specular map uses two channels to customize the specular behavior on the surfaces.

    • Red channel holds the specular exponent info (also known as shininess or glossiness), so it controls how blurry or sharp the specular shine is rendered.

      • higher values make the shine small and sharp

      • lower values make the shine large and blurry.

    • Green channel holds the specular intensity info

      • 0 means no specular shine

      • 255 is max shine intensity.

    • Blue channel holds the emissive intensity information

      • lower the values, less emissive and more influenced by lighting

      • higher values, more emissive.

    • Alpha channel is reserved for other component

  Avatar without light
Avatar with light