Specifies the red, green, and blue values for the diffuse light component of a material.
*Diffuse()Specifies the red, green, and blue values for the diffuse light component of a material. |
|||||
*Diffuse()Specifies the red, green, and blue values for the diffuse light component of a material. |
Syntax |
*Diffuse(Red, Green, Blue) |
|
Arguments |
Name |
Description |
Red |
A value from 0 to 1; 0 is no diffuse light and 1 is the highest intensity. |
|
Green |
A value from 0 to 1; 0 is no diffuse light and 1 is the highest intensity. |
|
Blue |
A value from 0 to 1; 0 is no diffuse light and 1 is the highest intensity. |
|
Example |
*BeginPalette() *BeginMaterial() *Name("Blue Green") *Emission(0, 0, 0) *Ambient(0, 0.46118, 0.6) *Diffuse(0, 0.76863, 1) *Specular(0, 0, 0) *Shininess(0) *Alpha(1) *EndMaterial() *EndPalette() |
|
Application |
MBD Model and HyperView. |
|
Context |
||
See also |
|
|