Closed Kreyren closed 1 year ago
This is not a bug with the TPS demo, this is a limitation of the engine. Work on fixing this in Godot 3 is not a priority since there will be many rendering improvements that help large projects in Godot 4, so I would not worry about it for now.
This is not a bug with the TPS demo, this is a limitation of the engine. Work on fixing this in Godot 3 is not a priority since there will be many rendering improvements that help large projects in Godot 4, so I would not worry about it for now. -- @aaronfranke (https://github.com/godotengine/tps-demo/issues/147#issuecomment-1322601021)
My quote from matrix:
e.g. the ubisoft's anvil and alike are managing this through:
- hiding the shader compilation behind a live-rendered scenes like https://www.youtube.com/watch?v=rktLqWGgXWo
- https://www.youtube.com/watch?v=7bXexNtrkSg (9:21) where the player is put in the tutorial environment with limited assets for the engine to maintain set FPS and use the spare power for the shaders
- using a pre-scene where the shaders get compiled in a limited asset environment and slowly increasing into the shader heavy full scene https://www.youtube.com/watch?v=7bXexNtrkSg 11:23
- Hiding the shader compilation behind resource-friendly animation until it's finished https://www.youtube.com/watch?v=TY9AC3E5JVI (1:17:56)
- Hiding the shader compilation behind an animation https://www.youtube.com/watch?v=TY9AC3E5JVI (1:59:04) -- https://matrix.to/#/!UxMKwxAxANEzAyYPfC:feneas.org/$oJ6m1_ROJ8Fp8bK0Mb5LLJEyvWuuOsmjIP2hNwHI1A4?via=matrix.org&via=privacytools.io&via=tchncs.de
Should i design the game with this kind of management for the shaders? It's kinda the decision that has to be taken early in development..
(using anvil as an example as the shader management is the most evident there the management is used industry-wide just usually more hidden behind e.g. loading screens)
OS/device including version:
Issue description:
The game launched from the engine loads without pre-loading or any kind of optimization for shaders so when you e.g. make the first shot it will cause a huge spike in system resource utilization and has a potential to halts low-end systems and/or systems with low amount of VRAM/RAM thus proposing some form of handling.
Screenshots of issue:
Not relevant
Relevants: