-
Notifications
You must be signed in to change notification settings - Fork 11
Texture Slot (Effects)
A texture slot is not an effect component, but it is used by some components like particles
, decal
, ribbon
, distribute
, fastParticles
and 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.