Hi there,
I can't seem able to use the GL_LINEAR_MIPMAP_LINEAR on GLES2.0
In my engine, I have the same cubemap class working and tested under all desktop platforms and I was testing it now under iOS with GLES2.
It doesn't seem to like the following:
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
If I do the following instead:
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
It works on iOS but then I can't use cubemap mips for PBR rendering.
Is this meant to work? What I find confusing is that if it's not supported, why would Apple add support for the textureCubeLodEXT() function in GLSL ?
I must be missing something, is it declared for iOS under another GL macro?
Cheers