Monkey does scale down images with some errors
Monkey Forums/Monkey Programming/Monkey does scale down images with some errors
| ||
i have question regarding scalling quality when virtual resolution is set to 640 x 480 and device resolution is lower ive got strange dots and scratches around the image. This is happening only when image is scale down with filtering. This happens on android devices so far and i cannot show the effect here, but it looks like single lines or pixels of white / yellow color on the edges of image. i am not sure if this is a fault of monkey or just my programming error. THis is sure not related to image (all png files) because for same image it happens in different places in different applications. |
| ||
You may need padding around your image sheets, even single images. This is sometimes caused by OpenGL's hardware floating point approximations being a little off, so it may be grabbing a little extra image data from the image beside it. I think Monkey uses a PaddingX() PaddingY() command. |
| ||
You mean offset of 1 pixel for each image on each side ? so it changes image 10x10 into 12x12 ? is my understanding is correct ? |
| ||
yes. original image is 10x10, you add 1px transparent for each border and get 12x12 image. |