Archived

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

Ivyn

Does Direct3D support Alpha Blending in Software mode?

Recommended Posts

Ivyn    132
I''m programming a 2D game engine using Direct3D (DirectX 7). I want to support the maximum number of graphics cards and PCs and I am planning to use Alpha Blending for lighting and alot of other important effects. Just wondering if Direct3D supports Alpha Blending in Software mode or will I have to write custom Alpha Blending routines?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
To complete, the ''software mode'' you are probably referring to is better known as the REF rasterizer, which implements all hardware options as a reference on how things *should* look when using hardware acceleration. It is terribly slow and not meant as an alternative for hardware rendering.

Share this post


Link to post
Share on other sites
Ivyn    132
Yes I am refering to the ''REF rasterizer''. If this is too slow then what are games like Half-Life and Unreal Tournament using when they have a Software Rendering Mode?

Share this post


Link to post
Share on other sites
Mastaba    761
Half-Life and Unreal have optimized software renderers. The Direct3D "REF" device, is not optimized. It is designed to render perfectly to the specs of Direct3D. The idea being that you can code for hardware that you don''t have access to, and if it works with the "REF" device, then it will work with the hardware device you do not have (or should if it has good drivers).

Share this post


Link to post
Share on other sites
Ivyn    132
Ah, Mastaba thank you for clearing that one up. I wonder now if it is worth adding a software renderer. Does anyone know if it's possible to write a custom alpha blending routine for cards that don't support it, but still using Direct3D?

[edited by - Ivyn on March 7, 2003 11:20:11 PM]

Share this post


Link to post
Share on other sites
glassJAw    128
quote:
Original post by Ivyn
Ah, Mastaba thank you for clearing that one up. I wonder now if it is worth adding a software renderer. Does anyone know if it''s possible to write a custom alpha blending routine for cards that don''t support it, but still using Direct3D?

[edited by - Ivyn on March 7, 2003 11:20:11 PM]


Sure it''s possible, but why bother? Any card made in the last 4 or 5 years should support hardware alpha blending. Writing a software renderer seems pretty pointless.

Share this post


Link to post
Share on other sites