From ac54b32eab582061b961c71efc8cdff28a4fa72e Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 27 Mar 2025 22:10:14 -0700 Subject: begin audiolinking shatterwave --- tessellation.cginc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tessellation.cginc') diff --git a/tessellation.cginc b/tessellation.cginc index fa57861..2725776 100644 --- a/tessellation.cginc +++ b/tessellation.cginc @@ -80,10 +80,10 @@ v2f domain( #if defined(_TESSELLATION_HEIGHTMAP) float height = _Tessellation_Heightmap.SampleLevel(linear_repeat_s, - o.uv01.xy * _Tessellation_Heightmap_ST.xy + _Tessellation_Heightmap_ST.zw, 0).r * + o.uv01.xy * _Tessellation_Heightmap_ST.xy, 0).r * _Tessellation_Heightmap_Scale + - _Tessellation_Heightmap_Offset - - _Tessellation_Heightmap_Scale * 0.5; + _Tessellation_Heightmap_Offset + + _Tessellation_Heightmap_Scale * -0.5; #if defined(OUTLINE_PASS) o.objPos.xyz += -o.normal * height; #else -- cgit v1.2.3