I still a newbie and I wondered if someone can help me.
I am doing a certain calculation in my shaer’s main funciton and I would like to get the result back to the OpenGL program somehow. is there a way to do it ? Which OpenGL command should I use for this ?
10x a lot in advance,
Use RTT (render to texture, pbuffer, frame buffer object or directly to (back/front) buffer - choose the best technique for you), use your shaders to generate texture and then read texture back to get shaders output.
This is your website :
They have a fine wiki, too, but it seems down at the moment.
You can use render to texture or render to VBO (using transform feedback), provided your card supports it.
Thank you all very much!!!
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.