Using lights to do a screenfade?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
PompeySteve
Posts: 14
Joined: Wed Mar 16, 2005 7:10 pm

Using lights to do a screenfade?

Post by PompeySteve »

My current project started off has a hack of the blit sample from PSPSDK.
I'd like to be able to do a screen fade - to black, without having to manually set each pixel in the texture.

Is it possible to use libGU to set the ambient brightness and fade out that way?

Any example code would be much appreciated!

Thanks in advance
User avatar
neofar
Posts: 47
Joined: Wed Jan 21, 2004 2:40 am
Location: Spain
Contact:

Post by neofar »

Simply put a black quad over the scene and then make it transparent
Post Reply