Ninja Library - System Function

njSetCheapShadowMode

Sets cheap shadow mode

FORMAT

void njSetCheapShadowMode( mode )
Int mode

PARAMETER

 mode  Polygon brightness in modifier volume 

RETURN

None

DESCRIPTION

Sets the cheap shadow mode. After using this function, all modifier volumes are set to cheap shadow mode. The mode sets the brightness in the modifier volume. Values from 0 to 255 can be used. The value is divided by 256 and the result is multiplied with the polygon base color and offset color. To terminate the cheap shadow mode, specify a negative value.

njSetCheapShadowMode
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999