I Tried "Mali GPU Texture Compression Tool" for converrting my images from jpeg to etc1.
I Use the Following Params to achieve Pefect results with Jpeg Texture
glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_NEAREST);
glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_NEAREST);
I user Follwoing Params with Etc1
glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);
glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S,GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T,GL_CLAMP_TO_EDGE);
Hi subrhmanyam,
Agree with Mark, need a bit more information to go on, preferably an image of the corruption and a picture of the expected output?
Also why are you using different texture parameters in either case? Is this an attempt to solve the issue? Filtering rather than taking the nearest texel will cause different rendering results, as will the clamp if you are specifying coordinates outside the 0.0 -> 1.0 range.
Thanks,
Chris