From 41dd4d9cdc5c20ad448df5d575d4b87f3b3e80b8 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 30 May 2024 01:17:44 -0700 Subject: Add overlay emission Also start fixing LOD logic for tiling textures --- globals.cginc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'globals.cginc') 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; -- cgit v1.2.3