diff options
| author | yum <yum.food.vr@gmail.com> | 2025-08-07 18:59:23 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-08-07 18:59:23 -0700 |
| commit | 8c6e9be61b2a7b1c5b9e5b61252090a4e2432ce2 (patch) | |
| tree | ad8af761b02f9a37eeafe0ef3ad0324a418447d2 /globals.cginc | |
| parent | 7fe9d7357ef5788745200012205954b9a484a3ed (diff) | |
add base color, normal, and metallic gloss textures
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 14 |
1 files changed, 12 insertions, 2 deletions
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; |
