yes, why not? You read all the pixels of the screen, then either add or subtract something from the red, green and blue values depending on whether you are fading to white or black and then write them back again. For a 640x480 screen you should be getting about 30fps on a P4 2.4ghz, thats what I can get on mine anyways.
Colorfade (to/from) black algorithm
BlitzPlus Forums/BlitzPlus Programming/Colorfade (to/from) black algorithmThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.