Increase render quality

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ZenKalar

New to Godot, coming from Unity. Can anyone give me a pointer or two on increasing render quality? Take a look at this example in Godot:

enter image description here

… vs. this example in Unity:

enter image description here

Don’t know what’s making the render so muddy in Godot.

Thanks for the help!

Seems like the Unity light has shadow on, the other does not. If the Godot does have shadow casting on? Or the default ambient is much higher in the Godot case.

Paintbox | 2018-07-17 13:15

Thanks for the note.

It’s true I’m not casting shadows in Godot. But I’m referring to the all the tearing along every edge in Godot. I don’t believe that has anything to do with shadows or the intensity of the ambient light.

ZenKalar | 2018-07-17 15:10

:bust_in_silhouette: Reply From: Calinou

I can see two issues on the first screenshot:

  • MSAA is not enabled. If you can spare the performance cost (MSAA is expensive on the GPU), you should enable it in the Project Settings (search for msaa in the Project Settings window). You generally want to use 4×, although 8× is nice to use on high-end hardware (and 2× is better than nothing). You should almost never use 16×, as it is very slow and only marginally better than 8×.

  • You seem to be using the viewport scaling mode, which is intended for pixel art games (it will upscale the viewport from its default resolution using nearest-neighbor filtering). You should probably be using the 2d scaling mode with the expand stretch mode instead; see Multiple resolutions in the Godot documentation.

And check environment settings, default may be not the best for that style.

eons | 2018-07-17 20:06

Thanks much.

The scaling mode doesn’t seem to make any difference for me, but the MSAA definitely does. (I’ll have to play with this on various devices to see what the performance implications are.)

ZenKalar | 2018-07-18 17:18

In addition, check the allow_hidpi setting. This is only for high-performance computers, and it will definitely slow down your game, but at least only my computer it made a huge difference. Again, this is only for powerful computers though.

Nv7-GitHub | 2020-07-24 21:59