Hi
I am experimenting a bit with texture blending.
I want to draw some texture blended primitives and some normal ones.
So i need to reset all the texture-stage-states to their default values when drawing the normal primitives.
This is my code:
[pascal]
D3D.SetTextureStageState(0,D3DTSS_COLORARG1,D3DTA_ TEXTURE);
D3D.SetTextureStageState(0,D3DTSS_COLOROP,D3DTOP_S ELECTARG1);
D3D.SetTextureStageState(1,D3DTSS_ALPHAARG1,D3DTA_ TEXTURE);
D3D.SetTextureStageState(1,D3DTSS_ALPHAARG2,D3DTA_ CURRENT);
D3D.SetTextureStageState(1,D3DTSS_COLOROP,D3DTOP_M ODULATE4X);
[/pascal]
What are the default texture-stage-state valeus??
Bookmarks