Hugo Locurcio 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 ani în urmă
..
screenshots fcc7d5c723 Optimize PNG images using oxipng 5 ani în urmă
README.md 4adaaa2eb2 Simplify the 3D scaling demo setup, enable filtering by default 4 ani în urmă
cubes.tscn 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 ani în urmă
default_env.tres 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 ani în urmă
hud.gd 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 ani în urmă
hud.tscn 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 ani în urmă
icon.png fcc7d5c723 Optimize PNG images using oxipng 5 ani în urmă
icon.png.import 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 ani în urmă
noto_sans_ui_regular.ttf b927ea3c63 Add a viewport 3D scaling demo 5 ani în urmă
noto_sans_ui_regular.ttf.import 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 ani în urmă
project.godot 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 ani în urmă

README.md

3D Viewport Scaling

This demo shows how to scale the 3D viewport rendering without affecting 2D elements such as the HUD. It also demonstrates how to toggle filtering on a viewport. This technique can be useful in 2D games as well. For instance, it can be used to have a "pixel art" viewport for the main game area and a non-pixel-art viewport for HUD elements.

Language: GDScript

Renderer: GLES 2

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/586

Screenshots

Screenshot

Screenshot