From 70f30643e6c392535cfbf0b82054bd4b53868833 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 26 Mar 2025 00:25:26 -0700 Subject: Finish adding tessellation; add 4 channels to shatterwave --- globals.cginc | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'globals.cginc') 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; -- cgit v1.2.3