Skip to content

Texture Slot (Effects)

Eric Mor edited this page Aug 13, 2019 · 1 revision

A texture slot is not an effect component, but it is used by some components like particles, decal, ribbon, distribute, fastParticlesand cloud.

Texture slots are used to select a texture and define how it is applied. It's a single command that looks like this:

texture (<resourceID>) -draw <enum> (<resourceID>) -buffer <int> -layer <int> -sortOffset <float> -light -noFog -shadow -noShadow -noCull -user1 -user2 -user3 -format <int>

Sometimes it is also used in materials, in which case it looks like:

material (<resourceID>) -texture <resourceID> -buffer <int> -layer <int> -sortOffset <float> -light -noFog -shadow -noShadow -noCull -user1 -user2 -user3 -format <int>


The -draw option can use one of the following values:

  • decal
  • decalInvertDepth
  • decalIgnoreDepth
  • depthDecal
  • additive
  • additiveInvertDepth
  • additiveIgnoreDepth
  • modulate
  • normalMap
  • depthNormalMap
  • alphaTestDissolve
  • user1
  • user2
  • user3
  • user4

The second value might be the ID of a material, but we are not sure.

Clone this wiki locally