Lambert 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.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:drex_module_151_image_0.png|485pxpx|Lambert Shader]]
[[File:LambertShdr_00_GUI.png|none|470px|Lambert Shader]]


<!-- imported from file: module_151.html-->


[[Category:Other Surface Shader]]
__TOC__
 
== Overview ==
The Lambert shader provides an alternate shading model for diffuse reflection.  This method reflects light equally in all directions.  It also allows you to apply a translucency effect to the surface.
 
 
'''Settings:'''
<ul>
*'''Enable: '''  When checked, the node is active and the settings below will affect the surface. When unchecked, the node is ignored allowing the upstream shader nodes determine the colour of
the surface.
<ul>
{|
|-
| [[File:LambertShdr_01_EnableOFF.jpg|none|400px|Enable unchecked.]] || [[File:LambertShdr_02_EnableON.jpg|none|400px|Enable checked.]]
|-
| [[File:LambertShdr_25_EnableOff.jpg|none|400px|Enable unchecked.]] || [[File:LambertShdr_26_EnableOn.jpg|none|400px|Enable checked.]]
|}
</ul>
 
 
== Diffuse Colour Settings ==
The Lambert shader provides two settings to control the diffuse colour of the surface.  When the “Enabled” setting is checked, the colour value assigned to the “Diffuse colour” setting will override any shader or function nodes upstream from this node.  When the “Use existing colour” setting is checked, the upstream shader and function nodes provide the diffuse colour values.
 
*'''Diffuse colour: ''' This setting defines the colour value of the surface.
<ul>
{|
|-
| [[File:LambertShdr_51-2_DiffuseColourR229G50B50.jpg|none|266px|Diffuse colour = sRGB 229,50,50]] || [[File:LambertShdr_52-2_DiffuseColourR0G64B35.jpg|nono|266px|Diffuse colour = sRGB 0,64,35]] || [[File:LambertShdr_53-2_DiffuseColourR49G140B231.jpg|none|266px|Diffuse colour = sRGB 49,140,231]]
|-
| [[File:LambertShdr_27_DiffuseColourR229G50B50.jpg|none|266px|Diffuse colour = sRGB 229,50,50]] || [[File:LambertShdr_28_DiffuseColourR0G64B35.jpg|none|266px|Diffuse colour = sRGB 0,64,35]] || [[File:LambertShdr_29_DiffuseColourR49G140B231.jpg|none|266px|Diffuse colour = sRGB 49,140,231]]
|}
</ul>
 
 
*'''Use existing colour: '''  When checked, the diffuse colour values from shaders or function nodes upstream from the Lambert shader are used instead of its Diffuse colour setting above.
<ul>
{|
|-
| [[File:LambertShdr_54_UseExistingColourOn.jpg|none|400px|Use existing colour checked.]] || [[File:LambertShdr_30_UseExistingColourOn.jpg|none|400px|Use existing colour checked.]]
|}
</ul>
 
 
== Translucency Settings ==
Translucency is the effect of light filtering through a surface. For example, you might use translucency on a leaf texture to simulate light passing through it. It's not the same thing as opacity and is explained in more detail here. The Lambert shader provides two settings for controlling the translucency of a surface, the amount of the translucency and the ability to tint it.
 
*'''Translucent: '''  When checked, this setting controls the amount of translucency a surface has.  Higher values increase the brightness, giving the appearance that more light penetrates through the surface.
<ul>
{|
|-
| [[File:LambertShdr_31_Tranlucent0p5.jpg|none|400px|Translucent = 0.5]] || [[File:LambertShdr_32_Tranlucent1.jpg|none|400px|Translucent = 1.0]]
|-
| [[File:LambertShdr_33_Tranlucent0p5.jpg|none|400px|Translucent = 0.5]] || [[File:LambertShdr_34_Tranlucent1.jpg|none|400px|Translucent = 1.0]]
|-
| [[File:LambertShdr_35_Tranlucent0p5.jpg|none|400px|Translucent = 0.5]] || [[File:LambertShdr_36_Tranlucent1.jpg|none|400px|Translucent = 1.0]]
|-
| [[File:LambertShdr_37_Tranlucent0p5.jpg|none|400px|Translucent = 0.5]] || [[File:LambertShdr_38_Tranlucent1.jpg|none|400px|Translucent = 1.0]]
|}
</ul>
<ul>
{|
|-
| [[File:LambertShdr_45_TranlucentOff.jpg|none|266px|Translucent = off]] || [[File:LambertShdr_46_Tranlucent0p5.jpg|none|266px|Translucent = 0.5]] || [[File:LambertShdr_47_Tranlucent1.jpg|none|266px|Translucent = 1.0]]
|}
</ul>
 
 
* '''Translucency tint: '''When the Translucent setting is checked, the translucency takes on the colour as defined by the colour swatch.
<ul>
{|
|-
| [[File:LambertShdr_39_TranslucencyTintR229G50B50.jpg|none|266px|Translucency tint = sRGB 229,50,50]] || [[File:LambertShdr_40_TranslucencyTintR0G64B35.jpg|none|266px|Translucency tint = sRGB 0,64,35]] || [[File:LambertShdr_41_TranslucencyTintR49G140B231.jpg|none|266px|Translucency tint = sRGB 49,140,231]]
|-
| [[File:LambertShdr_42_TranslucencyTintR229G50B50.jpg|none|266px|Translucency tint = sRGB 229,50,50]] || [[File:LambertShdr_43_TranslucencyTintR0G64B35.jpg|none|266px|Translucency tint = sRGB 0,64,35]] || [[File:LambertShdr_44_TranslucencyTintR49G140B231.jpg|none|266px|Translucency tint = sRGB 49,140,231]]
|-
| [[File:LambertShdr_48_TranslucencyTintR229G50B50.jpg|none|266px|Translucency tint = sRGB 229,50,50]] || [[File:LambertShdr_49_TranslucencyTintR0G64B35.jpg|none|266px|Translucency tint = sRGB 0,64,35]] ||[[File:LambertShdr_50_TranslucencyTintR49G140B231.jpg|none|266px|Translucency tint = sRGB 49,140,231]]
|}
</ul>
 
 
 
</ul>
 
 
<br />
[[Category:Surface Shader]]

Latest revision as of 00:37, 25 February 2021

Lambert Shader
Lambert Shader


Overview

The Lambert shader provides an alternate shading model for diffuse reflection. This method reflects light equally in all directions. It also allows you to apply a translucency effect to the surface.


Settings:

    • Enable: When checked, the node is active and the settings below 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.
      Enable unchecked.
      Enable unchecked.
      Enable checked.
      Enable checked.


    Diffuse Colour Settings

    The Lambert shader provides two settings to control the diffuse colour of the surface. When the “Enabled” setting is checked, the colour value assigned to the “Diffuse colour” setting will override any shader or function nodes upstream from this node. When the “Use existing colour” setting is checked, the upstream shader and function nodes provide the diffuse colour values.

    • Diffuse colour: This setting defines the colour value of the surface.
      Diffuse colour = sRGB 229,50,50
      Diffuse colour = sRGB 229,50,50
      Diffuse colour = sRGB 0,64,35
      Diffuse colour = sRGB 49,140,231
      Diffuse colour = sRGB 49,140,231
      Diffuse colour = sRGB 229,50,50
      Diffuse colour = sRGB 229,50,50
      Diffuse colour = sRGB 0,64,35
      Diffuse colour = sRGB 0,64,35
      Diffuse colour = sRGB 49,140,231
      Diffuse colour = sRGB 49,140,231


    • Use existing colour: When checked, the diffuse colour values from shaders or function nodes upstream from the Lambert shader are used instead of its Diffuse colour setting above.
      Use existing colour checked.
      Use existing colour checked.
      Use existing colour checked.
      Use existing colour checked.


    Translucency Settings

    Translucency is the effect of light filtering through a surface. For example, you might use translucency on a leaf texture to simulate light passing through it. It's not the same thing as opacity and is explained in more detail here. The Lambert shader provides two settings for controlling the translucency of a surface, the amount of the translucency and the ability to tint it.

    • Translucent: When checked, this setting controls the amount of translucency a surface has. Higher values increase the brightness, giving the appearance that more light penetrates through the surface.
      Translucent = 0.5
      Translucent = 0.5
      Translucent = 1.0
      Translucent = 1.0
      Translucent = 0.5
      Translucent = 0.5
      Translucent = 1.0
      Translucent = 1.0
      Translucent = 0.5
      Translucent = 0.5
      Translucent = 1.0
      Translucent = 1.0
      Translucent = 0.5
      Translucent = 0.5
      Translucent = 1.0
      Translucent = 1.0
      Translucent = off
      Translucent = off
      Translucent = 0.5
      Translucent = 0.5
      Translucent = 1.0
      Translucent = 1.0


    • Translucency tint: When the Translucent setting is checked, the translucency takes on the colour as defined by the colour swatch.
      Translucency tint = sRGB 229,50,50
      Translucency tint = sRGB 229,50,50
      Translucency tint = sRGB 0,64,35
      Translucency tint = sRGB 0,64,35
      Translucency tint = sRGB 49,140,231
      Translucency tint = sRGB 49,140,231
      Translucency tint = sRGB 229,50,50
      Translucency tint = sRGB 229,50,50
      Translucency tint = sRGB 0,64,35
      Translucency tint = sRGB 0,64,35
      Translucency tint = sRGB 49,140,231
      Translucency tint = sRGB 49,140,231
      Translucency tint = sRGB 229,50,50
      Translucency tint = sRGB 229,50,50
      Translucency tint = sRGB 0,64,35
      Translucency tint = sRGB 0,64,35
      Translucency tint = sRGB 49,140,231
      Translucency tint = sRGB 49,140,231