Shaders Overview/VehicleShader/AllParams
Parameters
- RDT
- Reflective Detail Textures - Controls the amount of reflective detail such as scratches, dirt, and snow on the vehicle surface. Type: `float4`. Default: `0.0 0.0 0.0 0.0`.
- dirtColor
- Sets the color of the dirt overlay on the vehicle. Type: `float4`. Default: `0.20 0.14 0.08 0.0`.
- scrollPosition
- Controls the scrolling position for effects such as tracks or belts. Type: `float4`. Default: `0.0 0.0 0.0 0.0`. Range: `-1.0 0.0 0.0 0.0` to `1.0 10.0 10.0 1.0`.
- prevScrollPosition
- The previous scrolling position, calculated automatically by the shader. Type: `float4`. Default: `0.0 0.0 0.0 0.0`. Range: `-1.0 0.0 0.0 0.0` to `1.0 10.0 10.0 1.0`.
- lengthAndRadius
- Defines the length and radius for scrollable elements. Type: `float4`. Default: `2.0 0.5 0.0 0.0`.
- offsetUV
- Makes it possible to offset the UV in different directions. Type: `float4`. Default: `0.0 0.0 0.0 0.0`. Range: `-50.0 -50.0 -50.0 -50.0` to `50.0 50.0 50.0 50.0`.
- colorMat
- Array of 8 customizable colors/materials which is based of the UV UDIM location. First 3 floats controls the colors and the last controls the material (0 = metal, 1 = plastic etc) Type: `float4`. Default: `0.5 0.5 0.5 1.0"`. Range: `0.0 0.0 0.0 0.0` to `1.0 1.0 1.0 255.0`.