Constant Shader

From Terragen Documentation from Planetside Software
Revision as of 19:43, 23 February 2021 by Redmaw (talk | contribs) (Added descriptions and example images for all settings.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Constant Shader


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


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

  • Colour: This setting defines the colour value of the surface.
    Colour = sRGB 127,0,64
    Colour = sRGB 64,127,64
    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.5
    Alpha = 1

A shader is a program or set of instructions used in 3D computer graphics to determine the final surface properties of an object or image. This can include arbitrarily complex descriptions of light absorption and diffusion, texture mapping, reflection and refraction, shadowing, surface displacement and post-processing effects. In Terragen 2 shaders are used to construct and modify almost every element of a scene.