1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-01-05 00:53:36 +08:00
Godot-Shader-Lib/documentation/Documentation.md
2024-09-28 00:07:16 +05:30

5.1 KiB
Raw Permalink Blame History

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"

Available Nodes

Artistic nodes

Adjustment

Contrast node

Hue node

Replace Color node

Saturation node

White Balance node

Mask

Color Mask node

Geometry nodes

Mesh node

Maths nodes

Scalar

SmoothMax node

SmoothMin node

Vector

Distance

Chebyshev Distance node

Manhattan Distance node

Project node

Project On Plane node

Vector Transform node

Wave

Noise Sine Wave node

Sawtooth Wave node

Square Wave node

Triangle Wave node

Procedural nodes

Checker Board node

Height To Normal node

Fractals

Koch Fractal node

Noise

Gradient Noise node

Gyroid Noise node

Pseudo Random Noise node

Simple Noise node

Voronoi node

Shapes

Ellipse node

Polygon node

Rectangle node

Rounded Polygon node

Rounded Rectangle node

Ray marching nodes

Ray March node

UV nodes

Flipbook node

Parallax Mapping node

Radial Shear node

Rotate node

Spherize node

Swirl node

Tiling and Offset node

Twirl node