diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-20 18:48:18 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-20 18:48:18 -0800 |
| commit | 14cdf12e17d2b17676135457e42bde391ff3f313 (patch) | |
| tree | c1a9d73cc0e3daed83b2d2c3e005284e0cbfaeab /globals.cginc | |
| parent | 01eeb68639ee4e3a5aeacf321c35a46c7dfe5c3d (diff) | |
Add emission, fine-tune quantized specular
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index 1347a52..08f0e34 100644 --- a/globals.cginc +++ b/globals.cginc @@ -15,6 +15,12 @@ half _BumpScale; float _BumpShadowHeightScale;
float _BumpShadowHardness;
+#if defined(_EMISSION)
+sampler2D _EmissionMap;
+float4 _EmissionMap_ST;
+float3 _EmissionColor;
+#endif
+
#if defined(_AMBIENT_OCCLUSION)
sampler2D _OcclusionMap;
float _OcclusionStrength;
|
