Posted: 19th Nov 2011 23:03
See the example below for a masking problem.
In the picture, the first image is a straight assignment of the image to a sprite.
The second image is built from 2x subimages. Notice the masking problem when using the subimage method.

An example project is attached.

Can someone verify I haven't done something wrong before I submit this as an urgent bug?

thanks
Posted: 19th Nov 2011 23:03
Image of problem
Posted: 20th Nov 2011 16:04
I have had this problem, even with single images loaded up also. Just use this at the start of your code.
+ Code Snippet
SetDefaultMagFilter(0)
SetDefaultMinFilter(0)
Posted: 20th Nov 2011 18:44
Ah, nice one.

Thanks!
Posted: 21st Nov 2011 3:27
You may also want to look at the SetSpriteUVBorder command since for sprite sheets it defaults to a half pixel border that prevents the images blending into each other. However if you are using sprites that match perfectly to your resolution you may be better off with a border of 0.