Imagination PowerVR SDK Blog

PVRTexTool incorrect etc1 cubemap generation

pvrtextool

#1

PVRTexTool 4.1.6 (SDK build 3.5@3523712)
(latest)

Hi!
PVRTexTool has an error in the cubemaps creation.
Left image - rgb cubemap reflection (glGenerateMipmap(GL_TEXTURE_CUBE_MAP);).
Right image - etc1 cubemap reflection with mipmaps generated by PVRTexTool
There are artifacts (thin lines).

Please fix.


#2

Can you confirm that in your rendering code the wrap modes are set to GL_CLAMP_TO_EDGE?


#3

Opps! Sorry!

GL_CLAMP_TO_EDGE fixes the problem!