Shader: "mirror"

"mirror"

ClassReflectance
Synopsis Approximation of mirror reflecting materials using ray tracing, supporting reflection.
Arguments

"ambient factor" Type: LtFloat
Default:0.1
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"diffuse factor" Type: LtFloat
Default:0.1
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"specular factor" Type: LtFloat
Default:0.8
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"mirror factor" Type: LtFloat
Default:0.8
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"roughness" Type: LtFloat
Default:0.0625
Range:[ 0.0001, inf ]
Hint:[ 0.001, 1 ]
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-2005, 2006 LightWork Design Limited. All rights reserved