google / etc2comp

Apache License 2.0
378 stars 122 forks source link

Fix for iOS mipmapping support #29

Open rtissera opened 6 years ago

rtissera commented 6 years ago

iOS devices require to provide a full mipmap chain down to 1x1 mipmap size for compressed textures. This is the current behavior of PVRTexTool. The current etc2comp is fine with that, but only for square textures.

This patch reproduces PVRTexTool behavior with etc2comp on non-square textures.