Render without clearing screen first #620
-
I am trying to create a really simple project where a circle is animated randomly, but the screen is always cleared at each frame. I tried unchecking the "Clear" and "ClearAlpha" buttons in mainloop, to no avail. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
one way https://cables.gl/edit/HgXBuL |
Beta Was this translation helpful? Give feedback.
-
currently only possible with rendering to texture, the canvas is not created using "preservedrawingbuffer" and there is (currently) no way to change that afterwards. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback. Cheers!
…--Claudio
On Wed, Nov 29, 2023 at 7:15 PM marioepsley ***@***.***> wrote:
one way https://cables.gl/edit/HgXBuL
—
Reply to this email directly, view it on GitHub
<#620 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIDKILHE62KUZAFTZJDUODYG6XYTAVCNFSM6AAAAABAAAJAJKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOMJQHE2DE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
currently only possible with rendering to texture, the canvas is not created using "preservedrawingbuffer" and there is (currently) no way to change that afterwards.
using a texture gives you more control anyway and is a good way to do it.