void GsSetAmbient (
u_short r,
u_short g,
u_short b
)
|
Arguments
r, g, b |
RGB values of the ambient colour (0~4095) |
Return Value
None.
Explanation
The ambient colour is set to the RGB value specified by (r, g, b).
The r, g, b arguments can pass values up to but not including 4096.
A value of 4096 would represent a fixed point value of 1.0 and correspond
to normal ambient brightness. A value of 0 corresponds to minimum brightness.
A value of 1/8 of normal brightness would be specified with r, g, b
values of 4096/8.
See Also
GsSetFlatLight(), GsOT,
GsClearOt()
|