summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-01-11 15:33:44 -0800
committeryum <yum.food.vr@gmail.com>2026-01-11 15:33:44 -0800
commitf6aaea9c6030bdf4bdd66395f9b86baa0d16b3c2 (patch)
tree0673bea1d8a66074d2bc440647b510057f572f1a /features.cginc
parent12d39d992254314993bf1140b4d2be39453a509e (diff)
Add parallax heightmapping
Diffstat (limited to 'features.cginc')
-rw-r--r--features.cginc8
1 files changed, 8 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index f693049..814d80d 100644
--- a/features.cginc
+++ b/features.cginc
@@ -41,6 +41,14 @@
#pragma shader_feature_local _UNLIT
//endex
+//ifex _Parallax_Heightmap_Enabled==0
+#pragma shader_feature_local _PARALLAX_HEIGHTMAP
+//endex
+
+//ifex _Parallax_Heightmap_Ray_Marching_Enabled==0
+#pragma shader_feature_local _PARALLAX_HEIGHTMAP_RAY_MARCHING
+//endex
+
//ifex _UV_Scroll_Enabled==0
#pragma shader_feature_local _UV_SCROLL
//endex