From 3ee87f52f8979aa166c23fbfc2e310590a416a1e Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 31 Mar 2026 21:20:11 -0700 Subject: Begin work on triplanar projection feature --- features.cginc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'features.cginc') 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 -- cgit v1.2.3