Shadow Catcher Shader

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Shadow Catcher Shader
Shadow Catcher Shader

Overview

This shader provides a way to render a surface based on the shadows it receives from other 3D objects in the scene, clouds, or its own self shadows.

One practical use of this shader is to render shadow pass elements that can be composited into a final render in third party software such as Photoshop or Nuke. Keep in mind that the atmosphere and global illumination contribute to the final rendered element, so in this example they should be disabled. To further isolate the shadows in the rendered image, 3D Objects can have their render status set to hidden and cloud layers can have their primary visibility disabled.

Settings

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Shadow Catcher Shader nodes in a project.
  • Enable: When checked, the node is active and the settings below will be applied to the surface. When unchecked, the node is ignored.


  • Direct lighting without normals: When checked, the areas in shadow render black (sRGB 0,0,0).
    Direct lighting without normals checked.
    Direct lighting without normals checked.
    Direct lighting without normals checked.
    Direct lighting without normals checked.


  • Use surface colour: When checked, surface shader properties upstream from the Shadow Catcher shader are passed through and contribute to the final result.
    When Use Surface Colour is checked the underlying surface colour shows though.
    When Use Surface Colour is checked the underlying surface colour shows though.
    When Use Surface Colour is checked the underlying surface colour shows though.
    When Use Surface Colour is checked the underlying surface colour shows though.


  • Shadow ratio: When checked, the colour values for the shadows and non-shadow area of the surface are determined by the settings below.
  • Shadow colour: Use the slider and colour picker to set the colour value and intensity of the shadow areas on the surface.
  • Non-shadow colour: Use the slider and colour picker to set the colour value and intensity of the non-shadow areas on the surface.
    Shadow colour = black, Non-shadow colour = white
    Shadow colour = black, Non-shadow colour = white
    Shadow colour = black, Non-shadow colour = white
    Shadow colour = black, Non-shadow colour = white
    Shadow colour = dark grey, Non-shadow colour = light grey
    Shadow colour = dark grey, Non-shadow colour = light grey
    Shadow colour = dark grey, Non-shadow colour = light grey
    Shadow colour = dark grey, Non-shadow colour = light grey
    Various colour values for Shadow colour and Non-shadow colour
    Various colour values for Shadow colour and Non-shadow colour
    Shadow colour = Red (sRGB 255,0,0) and Non-shadow colour = Green (sRGB 0,255,0)
    Shadow colour = Red (sRGB 255,0,0) and Non-shadow colour = Green (sRGB 0,255,0)