minimum values for mipmap dimensions

This topic contains 2 replies, has 2 voices, and was last updated by  lefty 8 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29711

    lefty
    Member

    I see there are 2 constants for minimum mipmap sizes:
    PVRTC2_MIN_TEXWIDTH        = 16;
    PVRTC2_MIN_TEXHEIGHT        = 8;
    The fact that these two are different means that mipmaps won’t work on iPhone, because glCompressedTexImage2D fails if the texture isn’t square (that’s a limitation on iPhone).
    Any suggestions how to work around this issue?

    #32755

    Xmas
    Member

    These are the minimum sizes for calculating the data size of each mipmap level. They do not affect the width and height parameters passed to glCompressedTexImage2D.

    In other words, mipmaps of 8×8 and below will all have a data size of 32 bytes.

    #32756

    lefty
    Member

    Oh yeah, now I see Tongue. Thanks for the quick answer.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.