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

ShaderInc files refactored for the ease of future improvements

This commit is contained in:
Digvijaysinh Gohil
2024-07-21 16:39:45 +05:30
parent 0a8948118f
commit e33f70baa9
125 changed files with 706 additions and 733 deletions

View File

@ -15,7 +15,7 @@ Generates an ellipse shape based on input UV at the size specified by inputs <b>
|output|float|None|Output ellipse value|
**ShaderInc location**
<br>`res://addons/ShaderLib/Procedural/Shapes/Ellipse.gdshaderinc`
<br>`res://addons/ShaderLib/Procedural/Procedural.gdshaderinc`
**Method signature**
<br>`float ellipse_shape(vec2 uv, float width, float height)`

View File

@ -16,7 +16,7 @@ Generates a regular polygon shape based on input UV at the size specified by inp
|output|float|None|Output polygon value|
**ShaderInc location**
<br>`res://addons/ShaderLib/Procedural/Shapes/Polygon.gdshaderinc`
<br>`res://addons/ShaderLib/Procedural/Procedural.gdshaderinc`
**Method signature**
<br>`float polygon_shape(vec2 uv, int sides, float width, float height)`

View File

@ -15,7 +15,7 @@ Generates a rectangle shape based on input UV at the size specified by inputs <b
|output|float|None|Output rectangle value|
**ShaderInc location**
<br>`res://addons/ShaderLib/Procedural/Shapes/Rectangle.gdshaderinc`
<br>`res://addons/ShaderLib/Procedural/Procedural.gdshaderinc`
**Method signature**
<br>`float rectangle_shape(vec2 uv, float width, float height)`

View File

@ -17,7 +17,7 @@ Generates a rounded polygon shape based on input UV at the size specified by inp
|output|float|None|Output rounded polygon value|
**ShaderInc location**
<br>`res://addons/ShaderLib/Procedural/Shapes/RoundedPolygon.gdshaderinc`
<br>`res://addons/ShaderLib/Procedural/Procedural.gdshaderinc`
**Method signature**
<br>`float rounded_polygon_shape(vec2 uv, float width, float height, float sides, float roundness)`

View File

@ -16,7 +16,7 @@ Generates a rounded rectangle shape based on input UV at the size specified by i
|output|float|None|Output rounded rectangle value|
**ShaderInc location**
<br>`res://addons/ShaderLib/Procedural/Shapes/RoundedRectangle.gdshaderinc`
<br>`res://addons/ShaderLib/Procedural/Procedural.gdshaderinc`
**Method signature**
<br>`float rounded_rectangle_shape(vec2 uv, float width, float height, float radius)`