diff options
| author | yum <yum.food.vr@gmail.com> | 2025-03-27 22:10:14 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-03-28 04:01:09 -0700 |
| commit | ac54b32eab582061b961c71efc8cdff28a4fa72e (patch) | |
| tree | 8ec1d7c0a7099a45f313e5788d0e2beebe9b3dc5 /tessellation.cginc | |
| parent | 6d01be1827eea13d5f6cc66de763ea67e7fca631 (diff) | |
begin audiolinking shatterwave
Diffstat (limited to 'tessellation.cginc')
| -rw-r--r-- | tessellation.cginc | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
