mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-09-03 23:39:26 +03:00
- Rebake lightmaps in Global Illumination demo with supersampling to improve quality. - Increase SDFGI quality in the Global Illumination demo (slightly more demanding, but better matches the quality standards of 2026). All demos had Project > Tools > Upgrade Project Files ran on them with 4.6.stable (4.6.stable.mono for demos in the `mono/` folder).
2D in 3D
A demo showing how a 2D scene can be shown within a 3D scene using viewports.
Language: GDScript
Renderer: Compatibility
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2803
How does it work?
The Pong game is rendered to a custom
Viewport
node rather than the main Viewport. In the code,
get_texture() is called on the Viewport to get a
ViewportTexture,
which is then assigned to the quad's material's albedo texture.
