1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-21 04:45:57 +08:00

Procedural nodes documentation updated

This commit is contained in:
Digvijaysinh Gohil
2024-04-15 22:50:04 +05:30
parent 8a036a2abf
commit 2dadda73fc
11 changed files with 156 additions and 0 deletions

View File

@ -14,4 +14,18 @@ Generates a checkerboard of alternating colors between inputs <b><i>color A</i><
|Name|Type|Binding|Description|
|---|---|---|---|
|output|vec3|None|Output checkerboard value|
**ShaderInc location**
<br>`res://addons/ShaderLib/Procedural/CheckerBoard.gdshaderinc`
**Method signature**
<br>`vec3 checker_board(vec2 uv, vec3 color_a, vec3 color_b, vec2 frequency)`
**Parameters**
|Name|Type|Description|
|---|---|---|
|uv|vec2|Input UV value|
|color a|vec3|First checker color|
|color b|vec3|Second checker color|
|frequency|vec2|Scale of checkerboard per axis|
___