Template:VehicleShaderParameters: Difference between revisions

From North Modding Company
No edit summary
No edit summary
Line 14: Line 14:
{{#switch: {{{group|}}}
{{#switch: {{{group|}}}
  | Base =  
  | Base =  
   '''RDT'''
   ; RDT
   : Reflective Detail Textures - This parameter 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
   : This parameter sets the color of the dirt overlay on the vehicle, allowing for realistic dirt effects that change over time or with environmental interactions. 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`.
   ; ...other base parameters if there are any...
   ; ...other base parameters...


  | 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`.
   ; '''prevScrollPosition'''
   ; prevScrollPosition
   : The previous scrolling position, typically used for effects that require knowledge of the last frame's state to calculate motion blur or similar effects. 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`.
   : The previous scrolling position, typically used for effects that require knowledge of the last frame's state to calculate motion blur or similar effects. 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'''
   ; lengthAndRadius
   : Defines the length and radius for scrollable elements, used for cylindrical scrolling effects like those on a tire or belt. Type: `float4`. Default: `2.0 0.5 0.0 0.0`.
   : Defines the length and radius for scrollable elements, used for cylindrical scrolling effects like those on a tire or belt. Type: `float4`. Default: `2.0 0.5 0.0 0.0`.
   ; ...additional scroll parameters formatted for display...
   ; ...additional scroll parameters...


  | #default =  
  | #default =  

Revision as of 12:08, 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.