Commit Graph

4 Commits

Author SHA1 Message Date
Hugo Locurcio 4adaaa2eb2
Simplify the 3D scaling demo setup, enable filtering by default
It turns out using a TextureRect node isn't necessary :)

The typical ViewportContainer + Viewport setup can be used just
fine to enable filtering on the ViewportTexture returned by the
Viewport.

The performance of the new method is equivalent to the old one.
2021-02-13 02:56:51 +01:00
Aaron Franke d4bf89d364
Link to the asset library from the README of each demo 2020-09-10 15:37:10 -04:00
Aaron Franke f2a18910aa
Add README files to Viewport demos 2020-03-09 03:54:32 -04:00
Hugo Locurcio b927ea3c63
Add a viewport 3D scaling demo
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.
2020-02-19 21:13:20 +01:00