Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LeLe

assign which texture stage

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

in C# language, I find that VertexTextureCoordinate.Size2() has no parameter to indicate which texture stage the coordinate is assigned to. But VertexTextureCoordinate.Size1,3,4(int ) has a int parameter. in C++ I find there is a int parameter when size2. Then should let all the 2d textures be assined to the first stages one bye one then followed the 3d or 1d textures? How can i arrange an 3D texture at stage 0 and an 2d texture at stage 1, Is it right ? VertexFormats.Position | VertexFormats.Texture2 | VertexTextureCoordinate.Size3(0) |VertexTextureCoordinate.Size2(); help please.

Share this post


Link to post
Share on other sites
Advertisement

  • 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!