Workspace 6.21.5
|
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.
Inputs: | |||
---|---|---|---|
Surface representation | CSIRO::Rendering::SurfaceRepresentation | Whether the surface should be displayed as a solid surface, wireframe, or other representation. | |
Color scale | CSIRO::DataAnalysis::ColorScale | The 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: | |||
Shader | CSIRO::Rendering::DepthShader |