From a522e7738d75e84cc1ee1491a098421622ef1918 Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 11 Apr 2025 19:17:06 -0700 Subject: add rough ability to nudge tessellation heightmap direction --- shatter_wave.cginc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'shatter_wave.cginc') diff --git a/shatter_wave.cginc b/shatter_wave.cginc index d65741f..24afb27 100644 --- a/shatter_wave.cginc +++ b/shatter_wave.cginc @@ -97,10 +97,6 @@ void shatterWaveVert(inout float3 objPos, float3 objNormal, float3 objTangent) { objPos += objNormal * (offset.x + offset.y + offset.z + offset.w); } -void shatterWaveFrag(inout float3 normal, float3 objPos) { - normal = normalize(cross(ddy(objPos), ddx(objPos))); -} - #endif // _SHATTER_WAVE #endif // __SHATTER_WAVE_INC -- cgit v1.2.3