diff options
| author | yum <yum.food.vr@gmail.com> | 2026-04-05 14:33:57 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-04-05 14:34:03 -0700 |
| commit | 69f273558ecfded1fcf7c89b238a241859dc625e (patch) | |
| tree | 7c6b7a809ed74aafabc4993875fbdf4b8443f082 /burley.cginc | |
| parent | e3a071dbde74e863d4bf56ad957d153886f26406 (diff) | |
Cloth bugfixes; burley tiling scaling fix
Diffstat (limited to 'burley.cginc')
| -rw-r--r-- | burley.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/burley.cginc b/burley.cginc index 539b317..0b6faeb 100644 --- a/burley.cginc +++ b/burley.cginc @@ -74,7 +74,7 @@ BurleyPatchTransform burley_make_patch_transform(float2 uv, float2 uv_dx, float2 float2 vertex_uv = burley_tri_to_cart(tri_vertex); // Map the unit-radius hex support to the unit square so arbitrary rotation // stays within bounds. - float2 local_uv = (uv - vertex_uv) * 0.5f; + float2 local_uv = (uv - vertex_uv); // Apply input scaling. local_uv *= input_scale; float2 sample_dx = uv_dx * (0.5f * input_scale); |
