5.1 KiB
Installation
Hit download as zip button in the git repo. Copy the contents of addons/ShaderLib into the same folder in your project. No activation needed. Custom visual shader nodes work the same way as standard visual shader nodes.
If you don't immediatly see new nodes under Addons category, simply reload your project.
Uninstallation
Delete the contents of addons/ShaderLib folder from your project. Make sure to delete it using the Godot editor instead of your default file system program.
Special Note
Even if you don't use visual shader, you can still use this addon for writing your custom shaders.
For example if you want to rotate UV in your .gdshader file, you can use rotate_uv()
of this addon using #include
keyword as following.
#include "res://addons/ShaderLib/UV/RotateUV.gdshaderinc"