• Advertisement
Sign in to follow this  

settexturestagestate and settransform

This topic is 4177 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hey all, I am confused with settexturestagestate(*, ****,****) and settransform(****,****) influence over the effect file. I have 2 textures and i use the effect file for blending and other operations. I think this is a really basi stuff but kindoff buggin me. Any of u have an idea Thank you

Share this post


Link to post
Share on other sites
Advertisement
Hey

SetTransform has no effect if you're using vertex shaders but remember you can use effect files for fixed function.

SetTextureStageState I remember as setting the texture operations like modulate etc? In that case, same as above, no effect if using pixel shaders but if you're using FF in effect files it will.

Hope that helps

Share this post


Link to post
Share on other sites
The SDK's programming guide has a section on Texture Blending as well as Effect States showing how you can use the Fixed Function via the effects framework.

As has been said, as soon as you start using shaders then the two functions you mention are effectively ignored.

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement