Workspace 6.21.5
|
Creates a ColorStateShader; a shader that uses RGBA state data from a MeshModel to set the color of each vertex.
Inputs: | |||
---|---|---|---|
BGR mode | bool | Enable to use BGR order instead of default RGB. | |
Surface representation | CSIRO::Rendering::SurfaceRepresentation | ||
State name | QString | ||
Enable lighting | bool | If enabled, the shader will shade the surface using the lambertian lighting model. | |
Apply transparency | bool | If enabled, nodes that have alpha components < 255 will be rendered with the appropriate blending method to make them appear transparent.. | |
Outputs: | |||
Shader | CSIRO::Rendering::ColorStateShader |