diff options
| author | yum <yum.food.vr@gmail.com> | 2026-03-31 21:20:11 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-03-31 21:20:11 -0700 |
| commit | 3ee87f52f8979aa166c23fbfc2e310590a416a1e (patch) | |
| tree | 501ea1d3b9174543557f4d578fe915b12c536522 /features.cginc | |
| parent | e595ed41ef130d9883a9f9a4b9566c285f0abde3 (diff) | |
Begin work on triplanar projection feature
Diffstat (limited to 'features.cginc')
| -rwxr-xr-x | features.cginc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc index 57c2191..99e5593 100755 --- a/features.cginc +++ b/features.cginc @@ -251,4 +251,18 @@ #pragma shader_feature_local _BURLEY_TILING_ROTATION_CONSTRAINT //endex +//ifex _Triplanar_Layer0_Enabled==0 +#pragma shader_feature_local _TRIPLANAR_LAYER0 +#pragma shader_feature_local _TRIPLANAR_LAYER0_NORMAL +#pragma shader_feature_local _TRIPLANAR_LAYER0_METALLIC_GLOSS +#pragma shader_feature_local _TRIPLANAR_LAYER0_BURLEY +//endex + +#if defined(_TRIPLANAR_LAYER0) +#define TRIPLANAR +#endif +#if defined(_TRIPLANAR_LAYER0_BURLEY) +#define TRIPLANAR_BURLEY +#endif + #endif // __FEATURES_INC |
