multi-texturing

SetTextureStageState( 0, D3DTSS_COLORARG1, D3DTA_TEXTURE);
SetTextureStageState( 0, D3DTSS_COLORARG2, D3DTA_DIFFUSE);
SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_BLENDTEXTUREALPHA);

anyone knows how to write these three lines in opengl?

sob sob :’( … no answer ?

Please don’t crosspost.

Looks like you want to cross-fade textures? You can do that with multipass + blending, or use GLSL.

sorry, I thought I got no answer because I posted inside unrelated sub forum.