diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-18 14:59:59 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-18 14:59:59 -0800 |
| commit | 6504b2c4631bab477838548167b88c1052eac263 (patch) | |
| tree | e7d3aa4d19a21e624927a6771e2aeb4815af9393 /features.cginc | |
| parent | fbe7ed126883b0c4a1d5115e5c953bc244bc0214 (diff) | |
Grass: add crude instancing code
Diffstat (limited to 'features.cginc')
| -rwxr-xr-x | features.cginc | 4 |
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 |
