Jump to content
Posted 16 February 2011 - 01:58 AM
Posted 17 February 2011 - 01:30 AM
Posted 17 February 2011 - 06:21 AM
Posted 17 February 2011 - 06:22 PM
That is caused by bilinear filtering, and wrapping at the edges. Try using clamping instead of wrapping, which should fix part of it. However, some edges might still be visible. The reason is that with bilinear filtering the pixels neighboring the white part of the image are averaged with white when scaled, to give a smooth appearance. Normally this is desired, but when you tile textures in a single larger texture it can give you artifacts. The solution is to put borders along the textures that have the same color as the texture it is supposed to blend with. For example your four images at the top of the skybox texture blend perfectly into each other in the image, so therefore you don't get any artifacts at those edges.