Shader: "chrome 2D"

"chrome 2D"

ClassReflectance
Synopsis A chrome-like reflectance using a two-dimensional chrome pattern.
Arguments

"ambient factor" Type: LtFloat
Default:0.1
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"diffuse factor" Type: LtFloat
Default:0.5
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"specular factor" Type: LtFloat
Default:0.5
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"chrome factor" Type: LtFloat
Default:0.3
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"roughness" Type: LtFloat
Default:0.1
Range:[ 0.0001, inf ]
Hint:[ 0.001, 1 ]
Locationlishlite
Description A reflectance shader providing a chrome-like effect which generates a reflection pattern from a two dimensional array of colours. The pattern is projected onto surfaces using a spherical mapping. Reflectance coefficients are provided which allow specification of the amount of ambient, diffuse, specular and `chrome' light reflected, corresponding to arguments "ambient factor", "diffuse factor", "specular factor" and "chrome factor" respectively. The sharpness of the specular reflection highlights can be controlled by means of argument "roughness". The reflection is made sharper with small values for the roughness, such as 0.1. Larger values, such as 1.0, decrease the specular fall-off. This model is suitable for shiny or highly polished chrome-like materials.

This reflectance shader is suitable for shiny or highly polished chrome-like materials, and may optionally be combined with the "chrome" colour shader (but will also work well with other colour shaders).

Previous page alphabetically (chrome)
Next page alphabetically (cloudsbackground)
Index


Copyright © 1990-2005, 2006 LightWork Design Limited. All rights reserved