Generate mip-maps in GLES2 with glGenerateMipmap
Created by: clayjohn
After an unsuccessful day trying to port the GLES3 custom mip-mapping over to GLES2 I opted for the simpler solution, just use the OpenGL built-in glGenerateMipmap
to generate Mip-maps.
Pros:
- Simpler code
- Faster
Cons:
- Uses a linear blur instead of gaussian
I think it is a good idea for GLES2 anyway as the expectation for GLES2 is to have lower quality rendering at the price of much faster render times.