I was wondering how could I load an ETC1 compressed texture in a desktop application as it seems ETC1 is only meant for mobile.
Specifically I was hoping to know if a variant of GL_ETC1_RGB8_OES exists for openGL 3.2
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot (in general. NVIDIA offers a way to create an ES 2.0 context, where you might have better luck); you’ll have to decompress it and use it as a decompressed texture.
The general way this is handled is to build your textures for the various platforms of interest. You use the various S3TC formats on desktop GL, ETC1 on platforms where that exists, PVR’s on those platforms, etc. The source of all of these is the original uncompressed texture.