Sharing my shader caching workflow for Godot 3.x🥳

It's cool that Godot 4.0 is finally released, but if you are still struggling with the lag caused by shader compilation in Godot 3.x, check out my solution:
https://github.com/imjp94/gd-shader-cache

#gamedev #indiedev #godotengine #madewithgodot

GitHub - imjp94/gd-shader-cache: Shader caching workflow for Godot 3.x

Shader caching workflow for Godot 3.x. Contribute to imjp94/gd-shader-cache development by creating an account on GitHub.

GitHub
@imjp94 thanks! This is currently useful with 4.0 as well! Even with caching enabled it just freezes every time a new shader/material appears, just like in 3.0.

@imjp94 it easy to fix actually, even in WebGL1/2 Godot 3 I made this - https://danilw.itch.io/e-ani-webgl?password=doit it even has counter of shader on loading, and every other Godot demo in my itch https://danilw.itch.io/ have same preloading, include this demo https://danilw.itch.io/godot-graphic-demo-3d?password=demo

Just "display mesh with this shader once" - put placeholder-loading screen on user screen, and then just change shader of "mesh" that visible to camera, I used quad and change its shader.

e-ani [WEBGL] by Danil

Shooting at objects

itch.io