Template:VehicleShaderParameters: Difference between revisions

From North Modding Company
No edit summary
No edit summary
Line 13: Line 13:
=== Base Parameters ===
=== Base Parameters ===
; '''RDT'''
; '''RDT'''
: Reflective Detail Textures - Controls scratches, dirt, and snow. Type: `float4`. Default: `0.0 0.0 0.0 0.0`.
: 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`.


; '''dirtColor'''
; '''dirtColor'''
: Defines the overlay color for dirt effects. Type: `float4`. Default: `0.20 0.14 0.08 0.0`.
: 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`.


''... additional base parameters ...''
''... other base parameters if there are any ...''
 
=== OffsetUV Parameters ===
; '''offsetUV'''
: Used for scrolling or rotating UVs on the texture's surface. Type: `float4`. Default: `0.0 0.0 0.0 0.0`.
 
''... additional offsetUV parameters ...''
 
=== ColorMask Parameters ===
; '''colorMat'''
: Array parameter for color customization through masking, enabling multiple color variations. Type: `float4`. Array Size: `8`.
 
''... additional colorMask parameters ...''
 
=== 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`.
 
''... additional scroll parameters ...''


<includeonly>
<includeonly>
{{#switch: {{{group|}}}
{{#switch: {{{group|}}}
  | base =  
  | Base =  
   ''... base parameters formatted for display ...''
   ''... base parameters formatted for display ...''
  | offsetUV =  
  | OffsetUV =  
   ''... offsetUV parameters formatted for display ...''
   ''... offsetUV parameters formatted for display ...''
  | colorMask =  
  | ColorMask =  
   ''... colorMask parameters formatted for display ...''
   ''... colorMask parameters formatted for display ...''
  | scroll =  
  | Scroll =  
   ''... scroll parameters formatted for display ...''
   ''... scroll parameters formatted for display ...''
  | #default =  
  | #default =  

Revision as of 11:35, 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.


Base Parameters

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

... other base parameters if there are any ...