diff options
| author | yum <yum.food.vr@gmail.com> | 2025-11-11 18:38:53 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-11-11 18:38:53 -0800 |
| commit | 3e9d00aaf3bdaa23ee5f762c85273de70c993fe5 (patch) | |
| tree | 9be3e82061d09891eace78e6c03e862e7538f576 /3ner.cginc | |
| parent | c64b900801c963e5be3abb6f5c0ed3ff849e73d5 (diff) | |
minor bugfixes
Diffstat (limited to '3ner.cginc')
| -rw-r--r-- | 3ner.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,7 @@ void geom(triangle v2f tri_in[3], #else float3 n = (v0.normal + v1.normal + v2.normal) * 0.333f; #endif - float height = center_offset(v0.uv0); + float height = center_offset(v0.uv01.xy); v0.objPos += n * height; v1.objPos += n * height; v2.objPos += n * height; |
