Workspace 6.21.5
|
Creates a new BlinnPhongShader; a shader controls the appearance an models surface using the Blinn-Phong lighting model. The shader is capable of shading shiny surfaces with specular highlights.
Inputs: | |||
---|---|---|---|
Surface representation | CSIRO::Rendering::SurfaceRepresentation | ||
Color | QColor | ||
Texturizer | CSIRO::Rendering::Texturizer | ||
Reflectance | double | The directional-hemispherical reflectance of the surface; i.e. the ratio of light that is reflected from the surface. | |
Smoothness | int | Value representing how smooth the surface is. A smoother surface will have smaller and brighter highlights. | |
Segment width | double | ||
Outputs: | |||
Shader | CSIRO::Rendering::BlinnPhongShader |