Legacy Documentation: Version 4.6.2
Language: English
Transparent Cutout Bumped Specular
Self-Illuminated Vertex-Lit

Self-Illuminated Shader Family

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

The Self-Illuminated shaders will emit light only onto themselves based on an attached alpha channel. They do not require any Lights to shine on them to emit this light. Any vertex lights or pixel lights will simply add more light on top of the self-illumination.

This is mostly used for light emitting objects. For example, parts of the wall texture could be self-illuminated to simulate lights or displays. It can also be useful to light power-up objects that should always have consistent lighting throughout the game, regardless of the lights shining on it.

Self-Illuminated Vertex-Lit

shader-SelfIllumVertexLit
shader-SelfIllumVertexLit

Assets needed:

  • One Base texture, no alpha channel required
  • One Illumination texture with alpha channel for Illumination Map

» More details

Self-Illuminated Diffuse

shader-SelfIllumDiffuse
shader-SelfIllumDiffuse

Assets needed:

  • One Base texture, no alpha channel required
  • One Illumination texture with alpha channel for Illumination Map

» More details

Self-Illuminated Specular

shader-SelfIllumSpecular
shader-SelfIllumSpecular

Assets needed:

  • One Base texture with alpha channel for Specular Map
  • One Illumination texture with alpha channel for Illumination Map

» More details

Self-Illuminated Bumped

shader-SelfIllumBumpedDiffuse
shader-SelfIllumBumpedDiffuse

Assets needed:

  • One Base texture, no alpha channel required
  • One Normal map normal map with alpha channel for Illumination

» More details

Self-Illuminated Bumped Specular

shader-SelfIllumBumpedSpecular
shader-SelfIllumBumpedSpecular

Assets needed:

  • One Base texture with alpha channel for Specular Map
  • One Normal map normal map with alpha channel for Illumination Map

» More details

Self-Illuminated Parallax

shader-SelfIllumParallaxDiffuse
shader-SelfIllumParallaxDiffuse

Assets needed:

  • One Base texture, no alpha channel required
  • One Normal map normal map with alpha channel for Illumination Map & Parallax Depth combined

Note: One consideration of this shader is that the Bumpmap texture’s alpha channel doubles as a Illumination and the Parallax Depth.

» More details

Self-Illuminated Parallax Specular

shader-SelfIllumParallaxSpecular
shader-SelfIllumParallaxSpecular

Assets needed:

  • One Base texture with alpha channel for Specular Map
  • One Normal map normal map with alpha channel for Illumination Map & Parallax Depth combined

Note: One consideration of this shader is that the Bumpmap texture’s alpha channel doubles as a Illumination and the Parallax Depth.

» More details

Transparent Cutout Bumped Specular
Self-Illuminated Vertex-Lit