diff options
| author | yum <yum.food.vr@gmail.com> | 2025-04-11 19:17:06 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-04-11 19:17:06 -0700 |
| commit | a522e7738d75e84cc1ee1491a098421622ef1918 (patch) | |
| tree | c08951cdd65f3eccadc17d57d97ea24d7b0b750f /shatter_wave.cginc | |
| parent | 77ae276b2b6e47d0de8bf0d9c4bbafd4212135b1 (diff) | |
add rough ability to nudge tessellation heightmap direction
Diffstat (limited to 'shatter_wave.cginc')
| -rw-r--r-- | shatter_wave.cginc | 4 |
1 files changed, 0 insertions, 4 deletions
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
|
