Shader: "phong"
"phong"

ClassReflectance
Synopsis Phong-style reflectance.
Arguments

"ambient factor" Description: The amount of ambient reflection.
Default:0.1
Hint:[ 0, 1 ]
"diffuse factor" Description: The amount of diffuse reflection.
Default:0.75
Hint:[ 0, 1 ]
"specular factor" Description: The amount of specular reflection.
Default:0.5
Hint:[ 0, 1 ]
"exponent" Description: The sharpness of specular reflection highlights. The reflection is made sharper with large values of the exponent, such as 10.0. Small values, such as 1.0, decrease the specular fall-off.
Default:10.0
Hint:[ 0, 100 ]
"specular colour" Description: The colour of the specular highlights.
Default:(1.0, 1.0, 1.0)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]

Previous page alphabetically (perceptual)
Next page alphabetically (photorealistic)
Index


Copyright © 2010 Lightwork Design Limited. All rights reserved