diff options
| author | yum <yum.food.vr@gmail.com> | 2024-05-30 01:17:44 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-05-30 01:17:44 -0700 |
| commit | 41dd4d9cdc5c20ad448df5d575d4b87f3b3e80b8 (patch) | |
| tree | fee8741b085d063f131c36d1395d0ed8c60ff89b /globals.cginc | |
| parent | ad79981dfddd3f787011334490d137e0a9a0ffb8 (diff) | |
Add overlay emission
Also start fixing LOD logic for tiling textures
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index 9b6534a..6c3d51f 100644 --- a/globals.cginc +++ b/globals.cginc @@ -38,6 +38,9 @@ float _PBR_Overlay0_Metallic; float _PBR_Overlay0_Roughness; texture2D _PBR_Overlay0_BaseColorTex; float4 _PBR_Overlay0_BaseColorTex_ST; +float4 _PBR_Overlay0_Emission; +texture2D _PBR_Overlay0_EmissionTex; +float4 _PBR_Overlay0_EmissionTex_ST; texture2D _PBR_Overlay0_NormalTex; float4 _PBR_Overlay0_NormalTex_ST; texture2D _PBR_Overlay0_MetallicTex; @@ -55,6 +58,9 @@ float _PBR_Overlay1_Metallic; float _PBR_Overlay1_Roughness; texture2D _PBR_Overlay1_BaseColorTex; float4 _PBR_Overlay1_BaseColorTex_ST; +float4 _PBR_Overlay1_Emission; +texture2D _PBR_Overlay1_EmissionTex; +float4 _PBR_Overlay1_EmissionTex_ST; texture2D _PBR_Overlay1_NormalTex; float4 _PBR_Overlay1_NormalTex_ST; texture2D _PBR_Overlay1_MetallicTex; @@ -72,6 +78,9 @@ float _PBR_Overlay2_Metallic; float _PBR_Overlay2_Roughness; texture2D _PBR_Overlay2_BaseColorTex; float4 _PBR_Overlay2_BaseColorTex_ST; +float4 _PBR_Overlay2_Emission; +texture2D _PBR_Overlay2_EmissionTex; +float4 _PBR_Overlay2_EmissionTex_ST; texture2D _PBR_Overlay2_NormalTex; float4 _PBR_Overlay2_NormalTex_ST; texture2D _PBR_Overlay2_MetallicTex; @@ -89,6 +98,9 @@ float _PBR_Overlay3_Metallic; float _PBR_Overlay3_Roughness; texture2D _PBR_Overlay3_BaseColorTex; float4 _PBR_Overlay3_BaseColorTex_ST; +float4 _PBR_Overlay3_Emission; +texture2D _PBR_Overlay3_EmissionTex; +float4 _PBR_Overlay3_EmissionTex_ST; texture2D _PBR_Overlay3_NormalTex; float4 _PBR_Overlay3_NormalTex_ST; texture2D _PBR_Overlay3_MetallicTex; |
