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