Jump to content

  • Log In with Google      Sign In   
  • Create Account


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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 lomateron   Members   -  Reputation: 300

Like
0Likes
Like

Posted 07 March 2012 - 05:16 AM

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?

Sponsor:

#2 kauna   Crossbones+   -  Reputation: 2141

Like
0Likes
Like

Posted 07 March 2012 - 06:25 AM

Sounds like texture wrapping issue? Set texture address mode to clamp perhaps?

Cheers!

#3 kubera   Members   -  Reputation: 852

Like
0Likes
Like

Posted 07 March 2012 - 07:59 AM

Hi!

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

#4 Tispe   Members   -  Reputation: 978

Like
0Likes
Like

Posted 07 March 2012 - 09:17 AM


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

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS