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:
@ -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|
|
||||
___
|
Reference in New Issue
Block a user