16
Support / Re: More FrameBuffers in one program
« on: January 28, 2016, 10:38:53 am »
Hello Egon,
Thanks for the quick answer, I love the screenshot you posted.
To summarize this topic:
More FrameBuffers is definitley nogo, since there is only one GLcontext. That means that I have to use the one FrameBuffer I have (?) which means to use the process described in the thread http://www.jpct.net/forum2/index.php/topic,3716.0.html.
The meaning is to temporary (just for the proces of remaking the texture) use the setRenderTarget() and then end with removeRenderTarget() to redirect the main Buffer.
AND:
You suggest to scale the blit according the texture size viz the code snippet you wrote (and reverse its Y axis) and SYNC the Buffer before (?) the manipulation with the texture.
If I misunderstood you, just say so please. :-)
Thanks once again, I am going to try it out.
Thanks for the quick answer, I love the screenshot you posted.
To summarize this topic:
More FrameBuffers is definitley nogo, since there is only one GLcontext. That means that I have to use the one FrameBuffer I have (?) which means to use the process described in the thread http://www.jpct.net/forum2/index.php/topic,3716.0.html.
The meaning is to temporary (just for the proces of remaking the texture) use the setRenderTarget() and then end with removeRenderTarget() to redirect the main Buffer.
AND:
You suggest to scale the blit according the texture size viz the code snippet you wrote (and reverse its Y axis) and SYNC the Buffer before (?) the manipulation with the texture.
If I misunderstood you, just say so please. :-)
Thanks once again, I am going to try it out.