Constant Shader: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
Redmaw (talk | contribs)
Added descriptions and example images for all settings.
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Image:drex_module_143_image_0.png|485pxpx|Constant Shader]]
[[File:ConstantShdr_00_GUI.png|none|470px|Constant Shader]]


'''Node Description and Purpose:''' The Constant Shader provides a specific colour and alpha as output.


[[Category:Other Surface Shader]]
== Overview ==
The Constant Shader provides a specific colour and alpha as output.
 
 
'''Settings: '''
 
* '''Enable: '''  When checked, the node is active and the Colour and Alpha settings will affect the surface. When unchecked, the node is ignored allowing the upstream shader nodes determine the colour of the surface.
<ul>
{|
|-
| [[File:ConstantShdr_01_EnableOff.jpg|none|400px|Enable unchecked.]] || [[File:ConstantShdr_02_EnableOn.jpg|none|400px|Enable checked.]]
|}
</ul>
 
 
* ''' Colour: ''' This setting defines the colour value of the surface.
<ul>
{|
|-
| [[File:ConstantShdr_03_ColourR127G0B64.jpg|none|266px|Colour = sRGB 127,0,64]] || [[File:ConstantShdr_04_ColourR64G127B64.jpg|none|266px|Colour = sRGB 64,127,64]] || [[File:ConstantShdr_05_ColourR94G179B198.jpg|none|266px|Colour = sRGB 94,179,198]]
|}
</ul>
 
 
* '''Alpha: ''' This setting defines the surface’s alpha channel density value.  Note that by default, Terragen also stores atmosphere values in the alpha channel. 
<ul>
{|
|-
| [[File:ConstantShdr_06_Alpha0.jpg|none|266px|Alpha = 0]] || [[File:ConstantShdr_07_Alpha0p5.jpg|none|266px|Alpha = 0.5]] || [[File:ConstantShdr_08_Alpha1.jpg|none|266px|Alpha = 1]]
|}
</ul>
 
 
<br />
[[Category:Surface Shader]]

Latest revision as of 19:43, 23 February 2021

Constant Shader
Constant Shader


Overview

The Constant Shader provides a specific colour and alpha as output.


Settings:

  • Enable: When checked, the node is active and the Colour and Alpha settings will affect the surface. When unchecked, the node is ignored allowing the upstream shader nodes determine the colour of the surface.
    Enable unchecked.
    Enable unchecked.
    Enable checked.
    Enable checked.


  • Colour: This setting defines the colour value of the surface.
    Colour = sRGB 127,0,64
    Colour = sRGB 127,0,64
    Colour = sRGB 64,127,64
    Colour = sRGB 64,127,64
    Colour = sRGB 94,179,198
    Colour = sRGB 94,179,198


  • Alpha: This setting defines the surface’s alpha channel density value. Note that by default, Terragen also stores atmosphere values in the alpha channel.
    Alpha = 0
    Alpha = 0
    Alpha = 0.5
    Alpha = 0.5
    Alpha = 1
    Alpha = 1