godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.47k stars 1.53k forks source link

Suggestion: having FPS and other performance indicators in 3d/global_illumination demo #1005

Open joseph-sch opened 7 months ago

joseph-sch commented 7 months ago

Which demo project is affected:

3d/global_illumination

Description:

The demo specifies in the labels of each option through which one can cycle "fastest / fast / slow". I think it would be valuable to have an indication of the frames per second (FPS) and other "debug" information like the add-on https://github.com/godot-extended-libraries/godot-debug-menu provides (activated by the F3 key).

Minimal info: image

Extended info: image

Calinou commented 3 months ago

Integrating the debug menu add-on would mean committing quite a lot of code that isn't specific to the demo, so I'd prefer to keep the demo project as minimal as possible. Most demos are intended to showcase a minimal implementation example, as opposed to being a complete template project.

I'd prefer we work on moving the debug menu add-on to core instead, so that you can use it in every demo project without having to commit additional code to each demo.