aignacio_sf 34c5c69ede Optimize cubemap render to texture.
Calling glFramebufferTexture2D is very slow.
So, pre-create an fbo for each cubemap face and just bind the fbo when a cubemap face is selected.
2008-09-04 01:26:47 +00:00
..
2008-09-04 01:26:47 +00:00