View Full Version : render to texture

05-31-2003, 04:26 PM
Hi, i'm building sort of an heat effect (you can see a shot at www.web-discovery.net). (http://www.web-discovery.net).) I rendered the scene to a texture, which i later "disturbed" to create a hot steam effect. However, rendering to the texture is quite slow, there is a arb extension to use that does the same thing ?

05-31-2003, 05:03 PM
WGL_ARB_render_texture: http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_render_texture.txt

06-01-2003, 03:38 PM
You might benefit alot more from rendering to the back buffer rather than to a texture/pbuffer.

Plus you need to look at things like the resolution you are rendering for your texture etc. And if you are reading the texture back into memory so you can disturb it, then you are sucking your data from video into system memory, which will be slow (although perhaps you are simply "disturbing" your texture with texcoord offsets).