sunkper / Project-Summer-Island

A 3D scene made with Godot, inspired by Boku no Natsuyasumi 2.
Other
86 stars 7 forks source link

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

Open sunkper opened 4 years ago

sunkper commented 4 years ago

Look into workarounds suggested here: godotengine/godot#13954

sunkper commented 4 years ago

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

Calinou commented 4 years ago

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

sunkper commented 4 years ago

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.