Jump to content
  • Advertisement

Archived

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

Thread

Fade in and out DX 9 16 /32 Bits Fullscreen mode

This topic is 5290 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

Hello, I want to fade in and out(to and from black or some color) my Fullscreen 1024/768 16 or 32 Bits color depht DX 9.0b application.With the 8Bits-color mode it’s no problem, but in this time 8 bits is bad I think. Maybe with the Alpha SDK functions? Can anybody help me with this? Maybe with source code? Thanks Thread, sorry about my English, (;>)

Share this post


Link to post
Share on other sites
Advertisement
I''m definitely no expert or anything, but I''d say there''s two main options:

1) draw a black (or other color) rectangle covering the screen, and set it''s alpha to how faded you want the screen to be

2) set the gamma. I don''t really know how this works, but I''ve read it in a couple places. Apparently it can be used to do a quick fade without having to redraw every pixel on the screen to a darker shade or anything.

Share this post


Link to post
Share on other sites
DrunkenHyena, can you tell me more about the quad way?
I dont now what is the quad way, Sorry.
Do you now some (tutorial) source about this.
Thanks,
Cogito Ergo Sum

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!