From 8c6e9be61b2a7b1c5b9e5b61252090a4e2432ce2 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 7 Aug 2025 18:59:23 -0700 Subject: add base color, normal, and metallic gloss textures --- globals.cginc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 897e077..b1db690 100644 --- a/globals.cginc +++ b/globals.cginc @@ -9,10 +9,20 @@ SamplerState bilinear_repeat_s; SamplerState linear_clamp_s; SamplerState trilinear_repeat_s; +int _Mode; // opaque, cutout, transparent, etc. + +texture2D _MainTex; +float4 _MainTex_ST; float4 _Color; -int _Mode; -float _Smoothness; +texture2D _BumpMap; +float4 _BumpMap_ST; +float _BumpScale; + + +texture2D _MetallicGlossMap; +float4 _MetallicGlossMap_ST; +float _Glossiness; float _Metallic; float _Specular_AA_Variance; -- cgit v1.2.3