summaryrefslogtreecommitdiffstats
path: root/pbr.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'pbr.cginc')
-rwxr-xr-xpbr.cginc2
1 files changed, 2 insertions, 0 deletions
diff --git a/pbr.cginc b/pbr.cginc
index 38fd59b..8326ccf 100755
--- a/pbr.cginc
+++ b/pbr.cginc
@@ -1,6 +1,7 @@
#ifndef __PBR_INC
#define __PBR_INC
+#include "aperiodic_tiling.cginc"
#include "burley.cginc"
#include "custom31.cginc"
#include "data.cginc"
@@ -286,6 +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);
applyDecals(i, pbr, normal_tangent);