This must be a bug, on the textures(maybe)

Started by
2 comments, last by Tispe 12 years, 1 month ago
when drawing 2d textures,have you never notice, all the pixels that are at the right, i mean the last column of pixels from left to right of the texture, and the first row of pixels from up to down.With those pixels, if you draw the texture into a 2d square, the column of pixels will appear at the left side of the square, and the row of pixels will appear at the bottom part of the square, looks more like if the texture was moved and the pixels that were offset were moved to the other side. Why is this?
Advertisement
Sounds like texture wrapping issue? Set texture address mode to clamp perhaps?

Cheers!
Hi!

Are you sure?
Bugs we could submit here:
http://forums.create.msdn.com/
(for DirectX issues)

d3d->SetSamplerState(0, D3DSAMP_ADDRESSU, D3DTADDRESS_MIRROR);
d3d->SetSamplerState(0, D3DSAMP_ADDRESSV, D3DTADDRESS_MIRROR);

This topic is closed to new replies.

Advertisement