Screen as one of multiple render targets?
Posted: Mon Jul 13, 2015 10:33 am
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.
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.