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 /globals.cginc | |
| parent | d2d4b8897ded5f399378ca447474f51eaefbf1a5 (diff) | |
Implement distance-based culling for instances
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index ad7f6d4..10f0556 100644 --- a/globals.cginc +++ b/globals.cginc @@ -166,6 +166,10 @@ float _Ray_Marching_Hexagon_Radius; float _Ray_Marching_Hexagon_Height; #endif // _RAY_MARCHING_HEXAGON +#if defined(_INSTANCE_DISTANCE_CULLING) +float _Instance_Distance_Culling_Distance; +#endif // _INSTANCE_DISTANCE_CULLING + #if defined(_PARALLAX_HEIGHTMAP) texture2D _Parallax_Heightmap; float4 _Parallax_Heightmap_ST; |
