• Advertisement
Sign in to follow this  

Some kind of a seperate rendered layer?

This topic is 2415 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

I am currently working on a program where the user is able to draw things with the mouse, everything works fine at the moment, but I have a question related to further developing. The layer where the user is drawing things is only cleared upon user request, i.e. if he/she wants to clear the screen. How would it be possible to add some kind of a second layer that's cleared and restored in every loop? Working similar to a GUI/Menu.

Regards.

Share this post


Link to post
Share on other sites
Advertisement
Use a render to texture and render it as a fullscreen quad (or partial screen, whatever you prefer).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement