Sign in to follow this  
Sangha Im

Pixel Operation in Direct3D (picture included)

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this