diff options
| author | yum <yum.food.vr@gmail.com> | 2026-03-30 13:11:29 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-03-30 13:11:29 -0700 |
| commit | 146b1e287e606b6ce3ebc4f60a1719f43c755916 (patch) | |
| tree | 914758325caffc2a1e2408119c9fd81e48f4520e /data.cginc | |
| parent | b5197bed4cad2a8452bcbfa8e116497760edf1ba (diff) | |
Glitter: use micro normal for IBL
Diffstat (limited to 'data.cginc')
| -rw-r--r-- | data.cginc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ #ifndef __DATA_INC #define __DATA_INC +#include "glitter.cginc" #include "globals.cginc" // From filament: min roughness s.t. MIN_PERCEPTUAL_ROUGHNESS^4 > 0 in target @@ -89,6 +90,9 @@ struct LightData { LightCommon common; LightDirect direct; LightIndirect indirect; +#if defined(_GLITTER) + LightGlitter glitter; +#endif }; struct BrdfData { |
