summaryrefslogtreecommitdiffstats
path: root/data.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-03-24 17:23:40 -0700
committeryum <yum.food.vr@gmail.com>2026-03-24 17:23:40 -0700
commit81637c1a3fab4f92e6da7517dd118d5bb4526865 (patch)
treed01e3ee10c5992460982767101dda070c46801ae /data.cginc
parent043de4d0360c54a507b90369e1afe1d1d6ace28f (diff)
Encapsulate ssfd and letter grid inside pbr.cginc
Diffstat (limited to 'data.cginc')
-rw-r--r--data.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.cginc b/data.cginc
index d7883a8..b2ddb25 100644
--- a/data.cginc
+++ b/data.cginc
@@ -18,7 +18,7 @@ struct Pbr {
float roughness_perceptual;
float roughness;
float metallic;
-#if defined(_EMISSIONS) && defined(FORWARD_BASE_PASS)
+#if (defined(_EMISSIONS) || defined(_LETTER_GRID)) && defined(FORWARD_BASE_PASS)
float3 emission;
#endif
#if defined(_BENT_NORMALS)