Template:VehicleShaderParameters: Difference between revisions

From North Modding Company
No edit summary
No edit summary
Line 13: Line 13:
<includeonly>
<includeonly>
{{#switch: {{{group|}}}
{{#switch: {{{group|}}}
| Base =
| base =
; RDT
; 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`.
: 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
; dirtColor
: Sets the color of the dirt overlay on the vehicle. Type: `float4`. Default: `0.20 0.14 0.08 0.0`.
: Sets the color of the dirt overlay on the vehicle. Type: `float4`. Default: `0.20 0.14 0.08 0.0`.
| Scroll =
| scroll =
; scrollPosition
; 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`.
: 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`.
Line 25: Line 25:
; lengthAndRadius
; lengthAndRadius
: Defines the length and radius for scrollable elements. Type: `float4`. Default: `2.0 0.5 0.0 0.0`.
: Defines the length and radius for scrollable elements. Type: `float4`. Default: `2.0 0.5 0.0 0.0`.
| track =
; mTrackArray
: 2dArray linearRGB texture store information about vertex position rotation and scale
| offsetUV =
; offsetUV
: Used for scrolling or rotating UVs, affecting how textures map onto the model.
| colorMask =
; colorMat
: Array of 8 customizable colors/materials which is based of the UV UDIM location. First 3 floats controls the colors and the last one 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`.
| #default =  
| #default =  
'''Please specify a valid parameter group.'''
'''Please specify a valid parameter group.'''
}}
}}
</includeonly>
</includeonly>

Revision as of 13:09, 25 February 2024

This template provides a detailed description of parameters used in the Vehicle Shader for Farming Simulator mods. It should be called in the following format for specific parameter groups:

{{VehicleShaderParameters|group=GroupName}}

Replace 'GroupName' with the actual name of the parameter group you wish to display.

Edit the page to see the template text.