Shaders Overview/VehicleShader/AllParams

From North Modding Company
< Shaders Overview‎ | VehicleShader
Revision as of 13:55, 25 February 2024 by T-Bone (talk | contribs) (Created page with "== Parameters == === Base Parameters === {{VehicleShaderParameters|group=base}} === Scroll Parameters === {{VehicleShaderParameters|group=scroll}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

Base 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`.


Scroll Parameters

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`.