PDA

View Full Version : Lookup buffer value in fragment shader



Coert
05-19-2005, 01:29 AM
Is it possible to lookup the current value of the framebuffer or a pbuffer rendering to in a fragment program?

I want to add values to a pbuffer value in multiple loops.

Relic
05-19-2005, 01:35 AM
Nope.
You need to do some ping-pong rendering using render-to-texture. Topic has been discussed multiple times, do a search.