summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-01-18 14:59:59 -0800
committeryum <yum.food.vr@gmail.com>2026-01-18 14:59:59 -0800
commit6504b2c4631bab477838548167b88c1052eac263 (patch)
treee7d3aa4d19a21e624927a6771e2aeb4815af9393 /features.cginc
parentfbe7ed126883b0c4a1d5115e5c953bc244bc0214 (diff)
Grass: add crude instancing code
Diffstat (limited to 'features.cginc')
-rwxr-xr-xfeatures.cginc4
1 files changed, 4 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index ebcf8a7..292e03c 100755
--- a/features.cginc
+++ b/features.cginc
@@ -61,6 +61,10 @@
#pragma shader_feature_local _INSTANCE_DISTANCE_CULLING
//endex
+//ifex _Instance_Texture_Offset_Enabled==0
+#pragma shader_feature_local _INSTANCE_TEXTURE_OFFSET
+//endex
+
//ifex _Parallax_Heightmap_Enabled==0
#pragma shader_feature_local _PARALLAX_HEIGHTMAP
//endex