summaryrefslogtreecommitdiffstats
path: root/brdf.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'brdf.cginc')
-rwxr-xr-xbrdf.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/brdf.cginc b/brdf.cginc
index 4081d49..54340aa 100755
--- a/brdf.cginc
+++ b/brdf.cginc
@@ -245,7 +245,7 @@ float4 brdf(Pbr pbr, LightData data, out BrdfData bd) {
diffuse *= data.common.ao;
specular *= data.common.spec_ao;
-#if defined(_EMISSIONS) && defined(FORWARD_BASE_PASS)
+#if (defined(_EMISSIONS) || defined(_LETTER_GRID)) && defined(FORWARD_BASE_PASS)
float3 emission = pbr.emission;
#else
float3 emission = 0;