shader: "chrome 2D"

"chrome 2D"

ShaderReflectance

"chrome 2D"( "ambient factor" LtFloat 0.1
"diffuse factor" LtFloat 0.5
"specular factor" LtFloat 0.5
"chrome factor" LtFloat 0.3
"roughness" LtFloat 0.1
)
Synopsis A chrome-like reflectance using a two-dimensional chrome map.
Locationlishlite
Description A reflectance model providing a chrome-like effect which generates a reflection pattern from a two dimensional array of colours. The map 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.

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


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