Pixel Operation in Direct3D (picture included)
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]
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
DirectX Graphics->Programming Guide->Getting Started->Direct3D Textures->Texture Coordinates->Directly Mapping Texels to Pixels
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement