summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-10-29 16:22:34 -0700
committeryum <yum.food.vr@gmail.com>2024-10-29 16:22:34 -0700
commitc26d19e86b9365f468f34f73cbe648ab2520bdec (patch)
treeb0a5b024881ba895c9f30fa52781c57177b329bd /globals.cginc
parent9a492f33c29c8564bcec17edef0a6591518ca9d4 (diff)
Can now specify interpolation mode on most important textures
You can select {linear,point,bilinear}x{repeat,clamp} for base pbr, overlays, and rim lighting (??) textures now. Overlay masks also tile now.
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc4
1 files changed, 4 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 764b9f8..8f29bc1 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -134,6 +134,7 @@ texture2D _PBR_Overlay0_NormalTex;
float4 _PBR_Overlay0_NormalTex_ST;
float _PBR_Overlay0_Tex_NormalStr;
texture2D _PBR_Overlay0_Mask;
+float4 _PBR_Overlay0_Mask_ST;
float _PBR_Overlay0_Mask_Invert;
float _PBR_Overlay0_Constrain_By_Alpha;
float _PBR_Overlay0_Constrain_By_Alpha_Min;
@@ -166,6 +167,7 @@ texture2D _PBR_Overlay1_NormalTex;
float4 _PBR_Overlay1_NormalTex_ST;
float _PBR_Overlay1_Tex_NormalStr;
texture2D _PBR_Overlay1_Mask;
+float4 _PBR_Overlay1_Mask_ST;
float _PBR_Overlay1_Mask_Invert;
float _PBR_Overlay1_Constrain_By_Alpha;
float _PBR_Overlay1_Constrain_By_Alpha_Min;
@@ -198,6 +200,7 @@ texture2D _PBR_Overlay2_NormalTex;
float4 _PBR_Overlay2_NormalTex_ST;
float _PBR_Overlay2_Tex_NormalStr;
texture2D _PBR_Overlay2_Mask;
+float4 _PBR_Overlay2_Mask_ST;
float _PBR_Overlay2_Mask_Invert;
float _PBR_Overlay2_Constrain_By_Alpha;
float _PBR_Overlay2_Constrain_By_Alpha_Min;
@@ -230,6 +233,7 @@ texture2D _PBR_Overlay3_NormalTex;
float4 _PBR_Overlay3_NormalTex_ST;
float _PBR_Overlay3_Tex_NormalStr;
texture2D _PBR_Overlay3_Mask;
+float4 _PBR_Overlay3_Mask_ST;
float _PBR_Overlay3_Mask_Invert;
float _PBR_Overlay3_Constrain_By_Alpha;
float _PBR_Overlay3_Constrain_By_Alpha_Min;