2D in DirectX 9
Does anyone know how to do 2D blits with source color keying, similar to the DirectDraw 7 method. I heard there is a new way to do it in DX9 (not using textures as it was donw in DX8.1)
quote:Original post by zodiacon
Does anyone know how to do 2D blits with source color keying, similar to the DirectDraw 7 method. I heard there is a new way to do it in DX9 (not using textures as it was donw in DX8.1)
Don''t think there''s a new way!? Anyone know? I really wanna know this...
/MindWipe
quote:Original post by MindWipequote:Original post by zodiacon
Does anyone know how to do 2D blits with source color keying, similar to the DirectDraw 7 method. I heard there is a new way to do it in DX9 (not using textures as it was donw in DX8.1)
Don''t think there''s a new way!? Anyone know? I really wanna know this...
/MindWipe
IDirect3DDevice9::StretchRect
You can use alpha test to perform a keying effect (colour keying isn''t ideal anyway on modern 3D hardware).
--
Simon O''Connor
ex -Creative Asylum
Programmer &
Microsoft MVP
quote:Original post by S1CAquote:Original post by MindWipequote:Original post by zodiacon
Does anyone know how to do 2D blits with source color keying, similar to the DirectDraw 7 method. I heard there is a new way to do it in DX9 (not using textures as it was donw in DX8.1)
Don''t think there''s a new way!? Anyone know? I really wanna know this...
/MindWipe
IDirect3DDevice9::StretchRect
You can use alpha test to perform a keying effect (colour keying isn''t ideal anyway on modern 3D hardware).
--
Simon O''Connor
ex -Creative Asylum
Programmer &
Microsoft MVP
Ok. Thanks, gotta look into that. Well, I think I''ll start seriously with 3D any day now.
/MindWipe
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement