Jump to content
  • Advertisement


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


Texture masks in 3D prob

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

Hello everyone. I am making a 2D isometric tile-based game in D3D9 using textured quads, and here is my problem. I need to have terrain transitions for different-looking tiles so that it doesn''t look that square. You can view the sample screenshot at http://project.dark.am/dev/files/silver/screenshots/transition.jpg As you see, I need to some kind of ''mask blt'' the edge tiles having 8 masks for each edge of each tile. What I''m doing now is locking the edge tile, masking it, unlocking and drawing. Using this technology my application crashes if there are some 15+ tiles placed on the scene. Lock/Unlock swallows too much time. The question is - how to solve this problem. If there''s a faster way of masking the textures, or a technique of less lock/unlocks... anything would be appreciated. Thanks for assistance. Silver.

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!