shader effect &

Started by
1 comment, last by dawidjoubert 18 years, 4 months ago
ok how can you combine the effect of 2 effects from file? I tried this(below) and this just made effect0 work. so is there a way to combine 2 different effects? UINT numPasses = 0; effect0->Begin(&numPasses, D3DXFX_DONOTSAVESHADERSTATE); effect1->Begin(&numPasses, D3DXFX_DONOTSAVESHADERSTATE); effect1->BeginPass(0); //Draw STuff effect1->EndPass(); effect1->End(); effect0->EndPass(); effect0->End(); [Edited by - Ksingh30 on December 31, 2005 11:29:12 PM]
Advertisement
anyone? :(
WRONG FORUM!!

Why, well because ur question relates to directx.

Thanks for wasting my time!
----------------------------
And you gave hopelessly to little information to go by
----------------------------

http://djoubert.co.uk

This topic is closed to new replies.

Advertisement