Edit of asset "3D Viewport Scaling Demo" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | 3D Viewport Scaling Demo | |
Description |
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 by using TextureRect to display the ViewportTexture delivered by the Viewport node. 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. ViewportContainer can also be used to display a viewport in a GUI, but it doesn't offer the ability to enable filtering. Language: GDScript Renderer: GLES 2 |
|
Category | Demos | |
License | MIT | |
Repository Provider | Custom | |
Repository Url | https://github.com/godotengine/godot-demo-projects/tree/3.5-9e68af3/viewport/3d_scaling | https://github.com/godotengine/godot-demo-projects/tree/3.3-2d4d233/viewport/3d_scaling |
Issues Url | https://github.com/godotengine/godot-demo-projects/issues | |
Godot version | Godot 3.5 | |
Version String | 3.5-9e68af3 | 3.3-2d4d233 |
Download Commit | https://github.com/godotengine/godot-demo-projects/releases/download/3.5-9e68af3/viewport_3d_scaling.zip | https://github.com/godotengine/godot-demo-projects/releases/download/3.3-2d4d233/viewport_3d_scaling.zip |
Download Url (Computed) | https://github.com/godotengine/godot-demo-projects/releases/download/3.5-9e68af3/viewport_3d_scaling.zip | https://github.com/godotengine/godot-demo-projects/releases/download/3.3-2d4d233/viewport_3d_scaling.zip |
Icon Url |
https://raw.githubusercontent.com/godotengine/godot-demo-projects/3.2-57baf0a/viewport/3d_scaling/icon.png
|