godot-demo-projects/viewport/3d_scaling/README.md

20 lines
583 B
Markdown
Raw Normal View History

2020-03-08 06:35:19 +01:00
# 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.
2020-03-08 06:35:19 +01:00
Language: GDScript
Renderer: GLES 2
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/586
2020-03-08 06:35:19 +01:00
## Screenshots
![Screenshot](screenshots/high.png)
![Screenshot](screenshots/low.png)