EAC Compression with CPVRTexture

Hi, I’m trying to compress an EAC_RG11 normal map with CPVRTexture but I’m getting an incorrect texture as output. I’m using an RGB 8bit texture as input and I was wondering if it is the right input or if i’m supposed to create a 16 bit texture and then compress. I can compress a PVRTC correctly using the same approach, is there a sample somewhere that uses EAC?



thank you for your time



ciao

Alberto

Hi Alberto,



Could you describe specifically how the texture is incorrect?



Thanks,

Paul.

I actually already solved the problem, I didn’t understand what GenerateNormalMap does. I assumed I had to call it before transcoding, but my source image was alredy a normalmap.



Thank you for your time

Alberto