Workspace 6.21.5
|
Creates an ElementColoringShader; a shader that colors each element using state data stored on the MeshModel.
Inputs: | |||
---|---|---|---|
Surface representation | CSIRO::Rendering::SurfaceRepresentation | ||
Color scale | CSIRO::DataAnalysis::ColorScale | ||
Element mapper | CSIRO::Mesh::ElementMapper | The mapper controls the scalar values associated with each element, which are converted into colors using the color scale. | |
Enable lighting | bool | If enabled, the shader will shade the surface using the lambertian lighting model. | |
Outputs: | |||
Shader | CSIRO::Rendering::ElementColoringShader |