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

@ -17,7 +17,7 @@ This node can be used to create a texture animation functionality, commonly used
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/FlipbookUV.gdshaderinc`
<br>`res://addons/ShaderLib/UV/UV.gdshaderinc`
**Method signature**
<br>`vec2 flipbook_uv(vec2 uv, int rows, int columns, float anim_speed)`

View File

@ -14,7 +14,7 @@ The Parallax Mapping node lets you create a parallax effect that displaces a Mat
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/ParallaxMappingUV.gdshaderinc`
<br>`res://addons/ShaderLib/UV/UV.gdshaderinc`
**Method signature**
<br>`vec2 parallax_mapping_uv(sampler2D height, float amplitude, vec2 uv, vec3 tangent, vec3 normal, vec3 binormal, vec3 view)`

View File

@ -16,7 +16,7 @@ Applies a radial shear warping effect similar to a wave to the value of input UV
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/RadialShearUV.gdshaderinc`
<br>`res://addons/ShaderLib/UV/UV.gdshaderinc`
**Method signature**
<br>`vec2 radial_shear_uv(vec2 uv, vec2 center, float strength, vec2 offset)`

View File

@ -20,7 +20,7 @@ Rotates value of input UV around a reference point defined by input <b><i>center
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/RotateUV.gdshaderinc`
<br>`res://addons/ShaderLib/UV/UV.gdshaderinc`
**Method signature**
<br>`vec2 rotate_uv(vec2 uv, vec2 center, float rotation, bool use_degrees)`

View File

@ -16,7 +16,7 @@ Applies a spherical warping effect similar to a fisheye camera lens to the value
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/SpherizeUV.gdshaderinc`
<br>`res://addons/ShaderLib/UV/UV.gdshaderinc`
**Method signature**
<br>`vec2 spherize_uv(vec2 uv, vec2 center, float strength, vec2 offset)`

View File

@ -16,7 +16,7 @@ Applies a swirl warping effect similar to a black hole to the value of input UV.
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/SwirlUV.gdshaderinc`
<br>`res://addons/ShaderLib/UV/UV.gdshaderinc`
**Method signature**
<br>`vec2 swirl_uv(vec2 uv, vec2 center, float strength, vec2 offset)`

View File

@ -16,7 +16,7 @@ Applies a twirl warping effect similar to a black hole to the value of input UV.
|uv|vec2|None|Output UV value|
**ShaderInc location**
<br>`res://addons/ShaderLib/UV/TwirlUV.gdshaderinc`
<br>`res://addons/ShaderLib/UV/UV.gdshaderinc`
**Method signature**
<br>`vec2 twirl_uv(vec2 uv, vec2 center, float strength, vec2 offset)`