Texture not displaying

This topic contains 1 reply, has 2 voices, and was last updated by  Scott 4 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31207

    john lam
    Member

    Hey guys,

    my texture is not displaying on the IntroducingPVRTools example. I made a .PVR file and filewrapped it. I then added to .cpp to the solution and changed the name in const char c_szTextureFile[] code, then ran it but the texture is not showing up. My texture is of size 256×256 and I applied the normal map effect on it, not sure if this is the problem but I thought I would include it anyway. At the moment it is just displaying a black triangle

    Thanks

    #36955

    Scott
    Moderator

    Hi,

    Based on your description I would say that your texture doesn’t have any MIP-map levels. If you re-export your texture with some or modify IntroducingPVRTools to use GL_LINEAR for GL_TEXTURE_MIN_FILTER instead of GL_LINEAR_MIPMAP_NEAREST then in theory you should see your texture.

    Thanks,

    Scott

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