DigvijaysinhGohil / Godot-Shader-Lib

Visual shader node library for Godot engine.
MIT License
138 stars 8 forks source link

Voronoi is not working - Parser Error: Class "VisualShaderNodeProceduralVoronoi" hides a global script class. *solved* #8

Closed oidafuxmichi closed 3 months ago

oidafuxmichi commented 3 months ago

I use Voronoi for this caustic-shader. It works in the editor, but not ingame.

https://gamedevtipsandtricks.blogspot.com/2024/01/fake-caustics-using-visual-shader-in.html

When I use the visual-shader it says: Parser Error: Class "VisualShaderNodeProceduralVoronoi" hides a global script class. When I convert visual to script it does not compile.

image image

I solved this issue by deinstalling shader-lib. You have to delete the shader-lib dir from inside the editor. then reinstall - will work!

DigvijaysinhGohil commented 3 months ago

Seems like when updating, we need to perform a clean install, which is unfortunate. I need to figure something out for it.