void GsSetLightMode (
u_short mode
)
|
Arguments
mode |
Light source mode (0~1)
0: normal lighting
1: normal lighting with fog ON |
Return Value
None.
Explanation
The default light source mode is set to the value specified by mode.
This mode can also be set independently for each object using the attribute
member of GsDOBJ2. Bit 5 of
attribute determines whether the light source mode is set by the GsDOBJ2
attribute field or by the mode set with GsSetLightMode(). See the
description of GsDOBJ2 for more
information.
|