Jump to content
  • Advertisement
Sign in to follow this  
kaifeng

about fixed pipeline project texture

This topic is 3986 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

Is there any way to project texture in fixed pipeline? I tried but it has lots of problem... (1)what's that matrix for? renderdevice->SetTransform( D3DTS_TEXTURE0, &matrix ); (2)what's the meaning of those API renderdevice->SetTextureStageState( 0, D3DTSS_TEXTURETRANSFORMFLAGS,D3DTTFF_COUNT3|D3DTTFF_PROJECTED ); renderdevice->SetTextureStageState( 0, D3DTSS_TEXCOORDINDEX, D3DTSS_TCI_CAMERASPACEPOSITION); (3)important! how can I control the projector's scale rotation and position? thx a lot

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!