Handle multiple resolutions in most demos

This makes demos render correctly on hiDPI displays,
while also demonstrating how to handle multiple resolutions.

The 3D in 2D demo now uses "3D No-Effects" for the 3D viewport,
which is faster to render. Thanks to this, 4× MSAA is now enabled
for a better result.

The background loading demo now uses mipmaps for better-looking images.

The material testers demo now samples mouse input in a
resolution-independent manner when panning.

Default clear colors were also changed in some projects for visual
consistency with the project's theme.
This commit is contained in:
Hugo Locurcio
2019-07-20 12:36:37 +02:00
parent eb814782c6
commit a45b84a5ad
249 changed files with 1488 additions and 562 deletions

View File

@@ -19,6 +19,11 @@ config/name="2D Shaders for Sprites"
run/main_scene="res://sprite_shaders.tscn"
config/icon="res://icon.png"
[display]
window/stretch/mode="2d"
window/stretch/aspect="expand"
[rendering]
environment/default_environment="res://default_env.tres"