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

Find a way to remove or reduce shader compile stutter/freeze #20

Open
sunkper opened this issue Mar 22, 2020 · 3 comments
Open

Find a way to remove or reduce shader compile stutter/freeze #20

sunkper opened this issue Mar 22, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@sunkper
Copy link
Owner

sunkper commented Mar 22, 2020

Look into workarounds suggested here: godotengine/godot#13954

@sunkper sunkper added the enhancement New feature or request label Mar 22, 2020
@sunkper
Copy link
Owner Author

sunkper commented Apr 2, 2020

Reducing the number of ReflectionProbes helped reducing the startup loading/freeze (#14). Now to cover up the shader compile time.

@Calinou
Copy link

Calinou commented Apr 25, 2020

See this video which explains how to avoid shader compilation hiccups in Godot 3.x.

@sunkper
Copy link
Owner Author

sunkper commented Apr 26, 2020

Thanks for the link! I should check it out.

For the record, for this project I took a simple (maybe less reliable) way: when the scene is loaded, move player to a position where the entire scene is visible, wait few frames, move the player to the start position.

Since there are practically no change of shaders/materials after the initial load, this seems to work for this scene.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants