Executes fading. Original color displayed when the fading degree of the parameter is 0.f. When the degree is 1.f, fading causes a complete change to the specified color.
EXAMPLE
The following fades out to green.
Float fade_val
:
njSetFadeColor(0xff00ff00);
njExecuteFade(fade_val);
njFadeEnable();
:
/* Draw model, etc. */
:
njFadeDisable();
:
NOTE
The fog function cannot be used for the same object.