summaryrefslogtreecommitdiffstats
path: root/pbr.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-04-10 18:40:47 -0700
committeryum <yum.food.vr@gmail.com>2026-04-10 18:40:47 -0700
commitf2ceb26af143f2e929e4f23ccb1fc86fa9e5307b (patch)
treea4b391469ab805a8361a28c74b9daa24a85dbe69 /pbr.cginc
parent283b8f253cff4a0e39005ba675d7c2cd7ef3c123 (diff)
aperiodic: let user specify colors, add normals
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 8326ccf..2d01472 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);
+ apply_aperiodic_tiling(i.uv01.xy, pbr.albedo.xyz, normal_tangent);
applyDecals(i, pbr, normal_tangent);