pierstocazzo / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

RTT mipmaps #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Mipmaps should be generated for FBO bound textures. 
First the data should be reserved following the call to glTexImage(...,
NULL), then it should be called after each frame rendered to the FBO

Original issue reported on code.google.com by ShadowIs...@gmail.com on 10 Jul 2009 at 9:24

GoogleCodeExporter commented 9 years ago
Psuedocode:

setup texture
glGenerateMipmaps(textureId)
setup framebuffer object

...

bind framebuffer
render offscreen scene
unbind framebuffer
bind texture
glGenerateMipmaps(textureId)

Original comment by ShadowIs...@gmail.com on 10 Jul 2009 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by ShadowIs...@gmail.com on 18 Jul 2009 at 11:37

GoogleCodeExporter commented 9 years ago

Original comment by e.so...@gmail.com on 25 Mar 2010 at 8:39

GoogleCodeExporter commented 9 years ago

Original comment by e.so...@gmail.com on 25 Mar 2010 at 8:48

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by ShadowIs...@gmail.com on 22 Oct 2010 at 3:13