summaryrefslogtreecommitdiffstats
path: root/data.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-03-30 18:43:30 -0700
committeryum <yum.food.vr@gmail.com>2026-03-30 18:43:34 -0700
commitc7c1f7733eac8d28faed999ee0dc4796d16a6ade (patch)
tree7b67125cef30f104ac7fefbafeb7eca82de4f5b4 /data.cginc
parent46265149d719c0ebb61b0b72d9884f8bb5a76f4b (diff)
Add heightmaps to burley tiling
Also add --homo flag to gaussianize. This "homogenizes" the input by removing low frequency energy from the DFT of the image luma.
Diffstat (limited to 'data.cginc')
-rw-r--r--data.cginc3
1 files changed, 3 insertions, 0 deletions
diff --git a/data.cginc b/data.cginc
index d8c6960..370c3e6 100644
--- a/data.cginc
+++ b/data.cginc
@@ -31,6 +31,9 @@ struct Pbr {
float cc_roughness_perceptual;
float cc_strength;
#endif
+#if defined(_PARALLAX_HEIGHTMAP) || defined(_BURLEY_TILING_HEIGHTMAP)
+ float height;
+#endif
#if defined(_DEBUG_VIEW_TANGENT_SPACE_NORMALS)
float3 tangent_normal;
#endif