Shader: "environment"

"environment"

ClassReflectance
Synopsis Environment mapped reflectance.
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 ]
"environment 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 ]
"angle scale" Type: LtFloat
Default:1.0
Range:[ 0, 5 ]
Hint:[ 0.1, 2 ]
Locationlishclas
Description A reflectance model providing environment mapping. Reflectance coefficients are provided as arguments which allow specification of the ambient ( "ambient factor"), diffuse ( "diffuse factor"), specular ( "specular factor") and environment ( "environment factor") terms.

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. A scaling factor for the area of sampling in the global environment map is given by "angle scale"; a value of 0 will cause point sampling, a value greater than the default of 1 will cause `diffuse' environment reflections.

This model is suitable for reflective materials such as shiny metals.

Previous page alphabetically (draftangle)
Next page alphabetically (environmentlight)
Index


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