"glass"

ClassReflectance
Synopsis Approximation of glass-like materials using ray tracing, supporting reflection and refraction.
Arguments

"specular factor" Type: LtFloat
Default:0.5
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"transmission factor" Type: LtFloat
Default:0.9
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"mirror factor" Type: LtFloat
Default:0.1
Range:[ 0, inf ]
Hint:[ 0, 1 ]
"roughness" Type: LtFloat
Default:0.1
Range:[ 0.0001, inf ]
Hint:[ 0.001, 1 ]
"refraction" Type: LtFloat
Default:1.59144
Range:[ 1, 4 ]
Hint:[ 1, 2.5 ]
Locationlishray
Description A reflectance model that supports an approximation of glass-like materials that have both reflective and transmissive properties. Secondary mirrored and transmitted views are incorporated by the use of ray tracing. Reflectance coefficients are provided as arguments which allow specification of the amount of the specular light component ( "specular factor", and the contribution made by light from the mirror ( "mirror factor") and transmission ( "transmission factor") directions. 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. The index of refraction for all wavelengths of light is given by the argument "refraction". The default value for the refractive index corresponds to that for glass. The appropriate value for other materials can be obtained from published data in handbooks of optical constants. This model is approprate for approximating glass surface finishes.

Previous page alphabetically (geometric curvature)
Next page alphabetically (glow)
Index


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