Skip to main content
1 of 2

After a little digging found out that it can be enough to have only one main color (backbuffer) and depth buffer.
For proper rendering and clearing buffers between different viewports we can just use scissors test setting scissors equal to each viewport we about to draw.
So theres no need to additional handle "virtual" viewports changes and resize buffers, just set new values for scissors rect