Hi
Since 0.9.1 you can render to multiple canvases at once using love.graphics.setCanvas( canvas1, canvas2, ... )
However, in order to draw directly to the screen, you need to use love.graphics.setCanvas( ) with zero arguments.
My question is: Is it possible to render to the screen and other canvases at the same time?
I already tried love.graphics.setCanvas( nil, canvas2, ... ) but it didn't work...
As a workaround I'm currently using one extra canvas, which I then render directly to the screen, but I find this a bit wasteful.
Screen as one of multiple render targets?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Screen as one of multiple render targets?
This is not possible in OpenGL, unfortunately.
Re: Screen as one of multiple render targets?
Ok, thanks
Good to know that it's an actual limitation an not just something I can't figure out
Good to know that it's an actual limitation an not just something I can't figure out
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests