1 min
Carrying on with the cameras from last time, I am now trying to get it to display multiple cameras in order to get the split screen working.
I figured out how to set the size of viewport and that the scissor rect is used to select what part of the viewport is rendered.
The first image shows the viewport normally and the second shows the viewport being 1.5x bigger than the window and and the rect being 1.1x bigger than the window.
These two variables, is what is needed to get the splitscreen working, but I haven’t quite figure out what needs to be done. Does there need to be multiple viewports to accommodate for multiple cameras or does using the scissor rect can one viewport being used with multiple scissors rects splitting up the screen.
Subscribe to this blog via RSS.
Low level programming dev diary 28
Text based adventure dev diary 6
Level design developer diary 3
Game engine programming dev diary 14
Audio-visual production dev diary 7
Audio-Visual Production: Particle System Mesh Spawning Issues
Posted on 20 Feb 2020Low level programming dev diary (28) Text based adventure dev diary (6) Level design developer diary (3) Post mortem (4) Ex-machina dev diary (11) Game engine programming dev diary (14) Network game dev diary (11) Audio-visual production dev diary (7)