DX RenderStates for Smoke Effect
I guess the title says it all, can anyone tell me the renderstates they use to make a good realistic smoke effect. I can get every color but black to blend over my scene with just about every renderstate combination I try.
Thanks all!
Use D3DRENDERSTATE_ONE with D3DRENDERSTATE_SRCBLEND or DESTBLEND
I forget...it''s been a long time. It was D3DRENDERSTATE_ONE with something else and that''s all I remember.
---------------------------------------------
Hatten something something something!!
I forget...it''s been a long time. It was D3DRENDERSTATE_ONE with something else and that''s all I remember.
---------------------------------------------
Hatten something something something!!
mmm, anyone have a more exact description? ;-) If I use D3DBLEND_ONE for both SRC and DEST, the black portion of the texture is transparent.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement