$decaltexture
Jump to navigation
Jump to search
Template:Shaderparam It allows for a second UV channel to be defined for a model, allowing a decal texture to be placed on top of the base material. To use the parameter, the MDL must have been compiled from an FBX file and have a second UV channel defined.
Parameters and Effects
- * 0 = Alpha Masked
- * 1 = Multiplied
Note:If set to 1, $phong will not function on the material.
- * 2 = Modulate (functions like DecalModulate, or Photoshop's Overlay blend mode)
Note:Mode 2 expects sRGB input, not linear. This means ~0.73 gray acts as the mid point, instead of 0.5
- * 3 = Additive

