Workspace 6.21.5
DepthShaderBuilder

Creates a DepthShader; a shader that varies the color of a surface based on the depth at each point, relative to the near / far planes of the camera. The depth can be determined linearly or non-linearly using a color scale.

  • Default label: "DepthShader Builder"
  • Member of plug-in: Rendering
  • Catalogue path: Scene/Shaders
Inputs:
Surface representationCSIRO::Rendering::SurfaceRepresentationWhether the surface should be displayed as a solid surface, wireframe, or other representation.
Color scaleCSIRO::DataAnalysis::ColorScaleThe color scale to use to shade the depth of pixels.
Linear depth?bool

Whether or not to display depth information linearly. If false, depth information is denser closer to the camera, and less dense further away.

Outputs:
ShaderCSIRO::Rendering::DepthShader