Yeah. Look at the sample "oldskool2" for one way to acheive an effect like this (although it fades to black, but changing it to white is really pretty much a no-brainer).
The relevant code is reproduced below:
The relevant code is reproduced below:
SetBlend ALPHABLEND SetAlpha term SetColor 0,0,0 DrawRect 0,0,640,480 SetAlpha 1 SetColor 255,255,255The variable "term", is a float that slowly moves from 0 -> 1 as the program dies.