Since love 0.9.0 there is a way to use multiple canvases.
As wiki says here love.graphics.setCanvas:
If love.graphics.isSupported("multicanvas") returns true, at least 4 simultaneously active canvases are supported.
Personally I used up to 3 canvases in several projects and it worked fine on a bunch of devices.
But now I want to use more then 4 of them, so there are some questions:
How to find exact max number of simultaneously active canvases programmatically?
Is there a web page or something with list of devices and information about that number? So I can check how much support I will lose if I use N canvases?
Last edited by Sasha264 on Sat Dec 10, 2022 10:05 am, edited 1 time in total.
local systemLimits = love.graphics.getSystemLimits( )
print(systemLimits.multicanvas)
2. There is report from 2022 of system limits based on graphics cards and systems, and there are GL_MAX_DRAW_BUFFERS and GL_MAX_COLOR_ATTACHMENTS values. In LÖVE internaly, multicanvas in system limits is calculated as: