Jump to content
  • Advertisement


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


Need help with masking

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

Exactly what stage states would I need to do for the following: I load a mask onto a vertex buffer (VB1). I have another vertex buffer where I load a specific texture (VB2). This texture is not static. I need to make it so only parts of VB1 where the texture loaded onto it is white are displayed on VB2. IE: If I have a white circle on VB1, I need to make it so that that specific area on VB2 is shown, but everywhere else on VB2 is hidden when VB2 is overlapped by VB1. (These 2 vertex buffers are the same size and shape).

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!