Smaller viewport than screen/window

I’d like my next game that will be only in applet form looked like old arcade machine. Normally I would go with clever CSS, but game will supposed to have interactive coin slot, that you need to click in order to get credits, so even smartest HTML/CSS/JS wouldn’t work here.

That’s why I need to limit 3D viewport into specific part of the screen, while still being able to draw things using guiNode on whole area of the applet. Can you help me on that?

Use multiple viewports and position them where you want. The main one being in the middle of the screen:

1 Like

Thanks! Will certainly check that one out!