shader: "mirror"

"mirror"

ShaderReflectance

"mirror"( "ambient factor" LtFloat 0.1
"diffuse factor" LtFloat 0.1
"specular factor" LtFloat 0.8
"mirror factor" LtFloat 0.8
"roughness" LtFloat 0.0625
)
Synopsis Approximation of mirror reflecting materials using ray tracing, supporting reflection.
Locationlishray
Description A reflectance model that supports secondary mirrored views through ray tracing. Reflectance coefficients are provided as arguments which allow specification of the amount of ambient light ( "ambient factor"), diffuse light ( "diffuse factor") and specular light ( "specular factor") components, and the contribution made by light reflected in the mirror direction ( "mirror factor"). 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 or less. Larger values, such as 1.0, decrease the specular fall-off. This model is approprate for representing mirror-like surface finishes.

Previous page alphabetically (metal)
Next page alphabetically (mixed)
Index


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