Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Zipster

Fading

This topic is 6648 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was just wondering on the best way to fade the screen in D3D. I remember back in the ''ol days of DOS, you just accesed every pixel and lowered its RGB values until it was black. I was thinking of just making a black rectangle that covers the viewport (with an alpha value of 0), and then just slowly increasing the alpha until its all black. Is there a better way? ======================================= A man with no head is still a man. A head with no man is plain freaky.

Share this post


Link to post
Share on other sites
Advertisement
I haven''t tried this myself, but I found this on gamma fades:

http://www.gamedev.net/reference/articles/article998.asp

---- --- -- -
Blue programmer needs food badly. Blue programmer is about to die!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!