Texture Stage 2 problem

Does anyone know how to use TextureStage 2 ???
because if i activate the Stage2 with ANY COLOROP, the object will become completely WHITE !!!!! No matter what COLOROP i supply (SELECTARG1/ADD/MODULATE/etc) this is really weird.
i have activated the previous 2 stages (0 and 1) with MODULATE color op.

[code]
lpDevice->SetTextureStageState(2,D3DTSS_COLOROP,D3DTOP_SELECTARG1);
lpDevice->SetTextureStageState(2,D3DTSS_COLORARG1,D3DTA_CURRENT);
[/code]

can anyone help me please ??

Comments

  • all right, I eventually figured this one out by myself, so don't bother posting any replies any more.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion