diff options
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); |
