Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Material Actions»Set Material Texture
Index
Navigation
Community Wiki

Set Material Texture

Sets a named texture in a game object's material.

Game Object
The game object that the material is applied to.
Named Texture
The named texture. Common names include: _MainTex, _BumpMap, _Cube...
Texture
The texture to use.
 

 

Unity naming conventions:

  • _MainTex - Primary texture
  • _BumpMap - Normal map texture
  • _Cube - Reflective cubemap, used by cubemap shaders
  • _Illum - Illumination map
  • _ParallaxMap - Parallax map, used by parallax shaders 
  • _DecalTex - Decal texture, or secondary diffuse map
Tags:

Last modified on 6/28/2011 4:51 PM by User.

  • RSS Feed