Search Unity

Invalid texture size when padding is used

Discussion in 'General Graphics' started by SSS135, Jan 26, 2015.

  1. SSS135

    SSS135

    Joined:
    Nov 26, 2012
    Posts:
    65
    Hello. Size of non power of two texture with mipmaps seems to be invalid in scripts. I'm trying to generate UV for my mesh but I can't because I don't know real size of texture. Is there a way to know padding size or it just a bug? See screenshots for more info.