Hi,
I want to generate mip levels manually using multiple calls of glCopyTexImage2D, is this possible?
For example,
glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT32,
0, 0, 256, 256, 0);
glCopyTexImage2D(GL_TEXTURE_2D, 1, GL_DEPTH_COMPONENT32,
0, 0, 128, 128, 0);
glCopyTexImage2D(GL_TEXTURE_2D, 2, GL_DEPTH_COMPONENT32,
0, 0, 64, 64, 0);
and so on…
Doesn’t work for me so I’d like to ask if there’s something I’m doing wrong.
Thanks