Workspace 6.21.5
LambertShaderBuilder

Creates a LambertShader; a shader that controls the coloring of the surface of a MeshModel using the lambertian lighting model. This lighting model is very simple, as it is only capable of rendering 'matte' surfaces; those without any specular highlighting. Accordingly, it is very easy to configure and is not very expensive to apply.

  • Default label: "LambertShader 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 another representation.
ColorQColorThe color of the surface when illuminated.
TexturizerCSIRO::Rendering::Texturizer(optional) Allows 2D or 3D texture data to be applied to the surface of the model (mutually exclusive with the Color input).
Image index mapperCSIRO::Mesh::NodeMapper(optional) If set and the attached Texturizer has more than one image attached to it, this input determines which texture image is applied to each vertex of the model (for use with the Apply textures to glyphs input).
Apply textures to glyphsDeprecatedbool

If enabled, textures will be applied to the glyphs of models.

Alpha blend texturesboolIf enabled, alpha-blending will be applied to textures, giving them a degree of transparency based on the alpha component at each texel value.
Lighting enabledbool

Segment widthdouble

Sets the width of line to use when rendering segment elements.

Outputs:
ShaderCSIRO::Rendering::LambertShader