Archived

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

Thread

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

Recommended Posts

Thread    122
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
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
Thread    122
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