When I use glGenerateMipmap()
to generate mipmap for a RGBA32F
texture, it always comes to an INVALID_OPERATION
error. Binding texture or setting many kinds of texture parameters didn't work.
From OpenGL ES 3.0 specification, I find that RGBA32F
is not filterable. So is this the reason for the error?
Unfortunately, I can't find any "supported texture formats" tips in the api docs of function glGenerateMipmap
. If so, then why is RGBA16F
works well but 32bit float does not?
thanks~