Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADF-22 | Shader Compilation Lag Spike #36

Open
TinyTakinTeller opened this issue Aug 31, 2024 · 0 comments
Open

ADF-22 | Shader Compilation Lag Spike #36

TinyTakinTeller opened this issue Aug 31, 2024 · 0 comments
Labels
important : bug Something isn't working

Comments

@TinyTakinTeller
Copy link
Owner

Moved from Trello: https://trello.com/c/hvs2OZcF

Godot and game engines in general, have a known problem for lag spikes when shaders are loading (displayed) for the first time. - see godotengine/godot#61233 for example.

To reproduce, open game on new device or clear shader cache on the device, before loading any shader e.g. darkness shader when clicking enemy on darkness tab.

A possible workaround that I've seen used around, is to display all shaders at one scene and then hide it behind a loading bar. Sometimes, this is not enough so people have hidden an "automated playthrough" behind a loading scene to cover all shader compilation cases, e.g. https://www.youtube.com/watch?t=438&v=oG-H-IfXUqI

@TinyTakinTeller TinyTakinTeller added the important : bug Something isn't working label Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
important : bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant