summaryrefslogtreecommitdiffstats
path: root/pbr.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-04-12 17:21:23 -0700
committeryum <yum.food.vr@gmail.com>2026-04-12 17:21:23 -0700
commit900637fddb09fe7e3dda4e2da5fe7c7a8970f91a (patch)
tree9e3183f6a1b22dcbcbd27009adf3b68d9f58475a /pbr.cginc
parentd41f983216c973953eb313db690e7f4d919eb61b (diff)
aperiodic: apply normal filtering to smoothness
Diffstat (limited to 'pbr.cginc')
-rwxr-xr-xpbr.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbr.cginc b/pbr.cginc
index 2d01472..91c22f4 100755
--- a/pbr.cginc
+++ b/pbr.cginc
@@ -287,7 +287,7 @@ Pbr getPbr(v2f i) {
apply_burley_tiling(pbr, normal_tangent);
apply_triplanar_layers(i.worldPos, i.normal, pbr, normal_tangent);
apply_custom31_world(i, pbr, normal_tangent);
- apply_aperiodic_tiling(i.uv01.xy, pbr.albedo.xyz, normal_tangent);
+ apply_aperiodic_tiling(i.uv01.xy, pbr.albedo.xyz, pbr.smoothness, normal_tangent);
applyDecals(i, pbr, normal_tangent);