[SOLVED] How to scale JME display window size?

Hi

Sorry if this has been already asked in the past.

Is there a way to config JME to use a different size for the viewport framebuffer than the display window?

I am using an old GPU and when using a fullscreen window size I see some fps drops.

I want to know if there is an easy way (without needing to render to a quad) to config JME to use fullscreen size for display window while using a lower resolution (i.e 800x600,…) for rendering framebuffer and postprocessors?

You can already do this , but it will render periscreen black areas that will fit the remainder of 800x600 to your screen size,but I am not sure if you can really fill a 1366x768 with just 800x600 without having black frame of the remainder area.

From javaDocs : you can do an offscreen rendering using framebuffers but I believe you cannot render a resolution over your estimated display Window resolution ,but you can render a small resolution in a large resolution display Window .

In the simple case, set the resolution to what you want. Set full screen to true. It should change the display mode to full screen at that resolution.

Some modern LCD monitors will not upscale it automatically but that’s a monitor setting.

You can try this through the settings dialog even.

2 Likes

Thanks, it worked. :slightly_smiling_face:

2 Likes