OpenKeeper
OpenKeeper copied to clipboard
Use viewport to make the view smaller (especially in cinematics)
Use viewport to make the view smaller (especially in cinematics). The normal playing view is even clipped in the original game, we should do the same, clip the bottom part away if the GUI is visible there. This goes especially to cinematics where the screen is really small. Now we just use Nifty GUI to make it appear smaller. Making the view actually smaller we have less to render.
I know how to reduce the viewport, but is it really needed? Better made fade in and fade out effect for cinematic
It is not a high priority job, and most likely not an issue with our assets. But when/if we add shadows and real lights.. We need to reduce the view (cull) range and this is a good way to start. But yeah, it can wait.
It also would make the UI tooltips easier, since the PlayerInteractionState interferes constantly.
https://docs.jmonkeyengine.org/advanced/multiple_camera_views.html https://hub.jmonkeyengine.org/t/resizing-camera-viewport/28779