MagicaCSG 0.3.2: Shader Cache (Patreon)
Content
You may notice that the loading time in the latest version of MCSG is significantly longer than that of previous versions. It's due to the long compiling time of the more and more complex shaders for SDF modeling.
Therefore, I added supports for local shader cache. The shaders are only compiled once in the first launch of the program, and then will be loaded directly from the binary cache in the following launches. This will reduce the compiling time from 9s to 50ms.
The shaders may be recompiled and recached in the following cases:
1. change of graphics card
2. change of graphics driver
3. change of mcsg version
4. deleted/corrupted cache file (cache/shader.bin)
I may add a loading screen in the future.
[Download Link]
https://drive.google.com/file/d/1G7b6iTEdFsZbK3vLUqj7BdENWQdRkm8Z/view?usp=sharing