The following fades out to green. Float fade_val njSetFadeColor(0xff00ff00); njExecuteFade(fade_val); njFadeEnable(); /* Draw models etc. with fade effect */ njFadeDisable(); /* Draw models etc. without fade effect */
The example above only explains the flow of the fog feature, and therefore, it is not for actual use. |