I’m trying to copy my depth buffer to a FBO depth texture, shrinking it at the same time, so that I can rerender my glowing objects and blur it to make a nice glow texture.
The glCopyTexImage2D man page says “The pixels in the rectangle are processed exactly as if glCopyPixels had been called…” And when using glCopyPixels, you can also use glPixelZoom. But glPixelZoom does not appear to work with glCopyTexImage2D.
Am I wasting my time trying to make this work, or should it be possible? As far as the OpenGL docs are concerned, it looks like it should be possible.