Sign in to follow this  
4757EAD

Some kind of a seperate rendered layer?

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this