Fade in and out DX 9 16 /32 Bits Fullscreen mode
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, (;>)
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.
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.
The quad is the way to go. You can fade to/from any colour or even patterns (textures). This makes it possible to cross-fade between screens too.
Stay Casual,
Ken
Drunken Hyena
Stay Casual,
Ken
Drunken Hyena
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement