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 /globals.cginc | |
| parent | e595ed41ef130d9883a9f9a4b9566c285f0abde3 (diff) | |
Begin work on triplanar projection feature
Diffstat (limited to 'globals.cginc')
| -rwxr-xr-x | globals.cginc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index ded978b..a62d9e5 100755 --- a/globals.cginc +++ b/globals.cginc @@ -655,4 +655,25 @@ texture2D _Burley_Tiling_Heightmap; texture2D _Burley_Tiling_Heightmap_LUT; #endif // _BURLEY_TILING_HEIGHTMAP +#if defined(_TRIPLANAR_LAYER0) +texture2D _Triplanar_Layer0_MainTex; +float _Triplanar_Layer0_Scale; + +#if defined(_TRIPLANAR_LAYER0_NORMAL) +texture2D _Triplanar_Layer0_Normal; +float _Triplanar_Layer0_Normal_Scale; +#endif // _TRIPLANAR_LAYER0_NORMAL + +#if defined(_TRIPLANAR_LAYER0_METALLIC_GLOSS) +texture2D _Triplanar_Layer0_Metallic_Gloss; +#endif // _TRIPLANAR_LAYER0_METALLIC_GLOSS + +#if defined(_TRIPLANAR_LAYER0_BURLEY) +float _Triplanar_Layer0_Burley_Blend_Gamma; +texture2D _Triplanar_Layer0_MainTex_Burley_LUT; +texture2D _Triplanar_Layer0_Normal_Burley_LUT; +texture2D _Triplanar_Layer0_Metallic_Gloss_Burley_LUT; +#endif // _TRIPLANAR_LAYER0_BURLEY +#endif // _TRIPLANAR_LAYER0 + #endif // __GLOBALS_INC |
