(did this post)direct draw darkens?

Started by
0 comments, last by Malchivus 20 years, 1 month ago
i need to darken the whole screen using direct draw 4. its an isometric game and i want to do a nightime effect. do i need to just lock the whole surface and darken the memory myself?(or use hDC functions) I just wanna get this done.
I just wanna get this done.
Advertisement
The answer is: switch to using 3D hardware (Direct3D, OpenGL) immediately and you''ll be able to do this easily.

You can use gamma fades in DirectDraw, which don''t give good results (IMO) and can be inconsistent.

You can look for MMX enhanced alpha blending. This isn''t trivial to implement.

This topic is closed to new replies.

Advertisement