Jump to content
  • Advertisement
Sign in to follow this  
Sangha Im

Pixel Operation in Direct3D (picture included)

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

That's a screenshot of 2D engine I've been working on. And do you see the pixel gaps in the picture? The tiles are supposed to be connected without the black lines. (This engine uses 2 Triangles for each tile.) So what are some options for me? I somehow need to adjust the texture and UV mapping, so tiles will look connected. Thanks for your help in advance. EDIT: You can embed images in forum posts with the HTML 'img' tag [Edited by - jollyjeffers on November 23, 2007 3:58:23 AM]

Share this post


Link to post
Share on other sites
Advertisement
This looks like a case for Directly Mapping Texels to Pixels. There's a section to that in the DirectX SDK Docs:

DirectX Graphics->Programming Guide->Getting Started->Direct3D Textures->Texture Coordinates->Directly Mapping Texels to Pixels

Share this post


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

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