Jump to content

- - - - -

weird texture

  • Please log in to reply
2 replies to this topic
Thread Starter


  • Members
  • 173 posts

  • Joined: 10-May 2009

Posted 26 March 2012 - 14:12 #1

Posted Image

why it comes like this???
Posted Image


    BI Developer

  • 648 posts

  • Joined: 11-June 2007

Posted 30 March 2012 - 10:23 #2

The edge of your texture contains black/green, and when mip-mapped, the sides of this texture are bleeding onto the rendered output due to the texel calculation during compression.

To prevent this, increase the padding area of your texture, and try to use the most common color for the background of your texture, rather than (say) black.

At each mipmap scaling, each square set of 4 texels becomes 1 texel (average of the four), and the texture becomes more and more filtered. What you don't want is for that filtering to bleed color between each seperate UV island. Subdividing the texture using the above rule minimizes such inter-island bleeding. On the other hand, efficient use of the texture is as important as minimizing mipmap artifacts. And such mipmap bleeding is only noticeable if the colors of the inter-bleeding islands are different. Things on neighboring islands that will have similar texturing, therefore, can ignore the above rule, specially if they are continuous on the mesh itself - as in, the two islands being just the result of a seam separation.

Edited by Rocket, 30 March 2012 - 11:00.

"He will come to death. An image of the splendor of the kings of men in glory, undimmed before the breaking of the world."


    Poly Bully

  • Members
  • 7657 posts

  • Joined: 17-February 2007

Posted 31 March 2012 - 14:39 #3

more on the padding subject:

Posted Image