diff options
| author | yum <yum.food.vr@gmail.com> | 2025-03-26 00:25:26 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-03-26 00:25:26 -0700 |
| commit | 70f30643e6c392535cfbf0b82054bd4b53868833 (patch) | |
| tree | 9c684658c09f36318f94a8fc8ec3f8baf51be34d /globals.cginc | |
| parent | 274f601c9c49f69e4acef24b56982190b5b0bf93 (diff) | |
Finish adding tessellation; add 4 channels to shatterwave
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/globals.cginc b/globals.cginc index c653e9d..3a54bb8 100644 --- a/globals.cginc +++ b/globals.cginc @@ -416,22 +416,28 @@ float _Letter_Grid_Alpha_Threshold; #endif // _LETTER_GRID
#if defined(_SHATTER_WAVE)
-float _Shatter_Wave_Amplitude;
-float _Shatter_Wave_Wavelength;
-float _Shatter_Wave_Speed;
-float _Shatter_Wave_Period;
-float _Shatter_Wave_Power;
-float3 _Shatter_Wave_Direction;
+float4 _Shatter_Wave_Amplitude;
+float4 _Shatter_Wave_Wavelength;
+float4 _Shatter_Wave_Speed;
+float4 _Shatter_Wave_Period;
+float4 _Shatter_Wave_Time_Offset;
+float4 _Shatter_Wave_Power;
+float3 _Shatter_Wave_Direction0;
+float3 _Shatter_Wave_Direction1;
+float3 _Shatter_Wave_Direction2;
+float3 _Shatter_Wave_Direction3;
#endif // _SHATTER_WAVE
#if defined(_TESSELLATION)
float _Tessellation_Factor;
+#endif // _TESSELLATION
+
#if defined(_TESSELLATION_HEIGHTMAP)
texture2D _Tessellation_Heightmap;
float4 _Tessellation_Heightmap_ST;
float _Tessellation_Heightmap_Scale;
+float _Tessellation_Heightmap_Offset;
#endif // _TESSELLATION_HEIGHTMAP
-#endif // _TESSELLATION
#if defined(_SPHERIZE)
float _Spherize_Radius;
|
