Template:VehicleShaderParameters: Difference between revisions

From North Modding Company
(Created page with "<noinclude> This is the 'VehicleShaderParameters' template. It should be called in the following format: <pre> {{VehicleShaderParameters |group=Base }} </pre> Edit the page to see the template text. </noinclude> === Base Parameters === ; RDT : Reflective Detail Textures - Controls scratches, dirt, and snow. ; dirtColor : Color of the dirt overlay. ''... additional base parameters ...'' <includeonly> {{#switch: {{{group|}}} | Base = ; RDT : Reflective Detail Tex...")
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
This is the 'VehicleShaderParameters' template.
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:
It should be called in the following format:
 
<pre>
<pre>
{{VehicleShaderParameters
{{VehicleShaderParameters|group=GroupName}}
|group=Base
}}
</pre>
</pre>
Replace 'GroupName' with the actual name of the parameter group you wish to display.
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>


=== Base Parameters ===
=== Base Parameters ===
; RDT
; '''RDT'''
: Reflective Detail Textures - Controls scratches, dirt, and snow.
: Reflective Detail Textures - Controls scratches, dirt, and snow. Type: `float4`. Default: `0.0 0.0 0.0 0.0`.
; dirtColor
 
: Color of the dirt overlay.
; '''dirtColor'''
: Defines the overlay color for dirt effects. Type: `float4`. Default: `0.20 0.14 0.08 0.0`.
 
''... additional base parameters ...''
''... additional base parameters ...''
=== 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 =  
  ; RDT
   ''... base parameters formatted for display ...''
  : Reflective Detail Textures - Controls scratches, dirt, and snow.
  ; dirtColor
  : Color of the dirt overlay.
   ''... additional base parameters ...''
  | OffsetUV =  
  | OffsetUV =  
   ''... offset UV parameters ...''
   ''... offsetUV parameters formatted for display ...''
  | ColorMask =  
  | ColorMask =  
   ''... color mask parameters ...''
   ''... colorMask parameters formatted for display ...''
  | Scroll =  
  | Scroll =  
   ''... scroll parameters ...''
   ''... scroll parameters formatted for display ...''
  | #default =  
  | #default =  
   ''... parameters for all groups ...''
   ''... display a message indicating to select a group ...''
}}
}}
</includeonly>
</includeonly>

Revision as of 11:28, 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 - Controls scratches, dirt, and snow. Type: `float4`. Default: `0.0 0.0 0.0 0.0`.
dirtColor
Defines the overlay color for dirt effects. Type: `float4`. Default: `0.20 0.14 0.08 0.0`.

... additional base parameters ...

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