Project-Summer-Island icon indicating copy to clipboard operation
Project-Summer-Island copied to clipboard

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

Open sunkper opened this issue 5 years ago • 3 comments

Look into workarounds suggested here: godotengine/godot#13954

sunkper avatar Mar 22 '20 04:03 sunkper

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

sunkper avatar Apr 02 '20 12:04 sunkper

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

Calinou avatar Apr 25 '20 19:04 Calinou

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.

sunkper avatar Apr 26 '20 12:04 sunkper