diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-11 22:30:03 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-11 22:30:03 -0800 |
| commit | cbc299f489d6bdc38cce30d74040c54197efe125 (patch) | |
| tree | c5968e39e99ab521e6922316729a5120ff230734 /features.cginc | |
| parent | d2d4b8897ded5f399378ca447474f51eaefbf1a5 (diff) | |
Implement distance-based culling for instances
Diffstat (limited to 'features.cginc')
| -rw-r--r-- | features.cginc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc index 814d80d..9d1c17b 100644 --- a/features.cginc +++ b/features.cginc @@ -41,6 +41,10 @@ #pragma shader_feature_local _UNLIT //endex +//ifex _Instance_Distance_Culling_Enabled==0 +#pragma shader_feature_local _INSTANCE_DISTANCE_CULLING +//endex + //ifex _Parallax_Heightmap_Enabled==0 #pragma shader_feature_local _PARALLAX_HEIGHTMAP //endex |
