diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-06-14 12:09:13 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-06-15 01:55:44 +0300 |
commit | 49ba446f68954b7c32fbe40d733044cfbe39ff5d (patch) | |
tree | 47456f044b78629818eceb3479fe3f3c1bc5df15 /source/blender/draw/engines/eevee/eevee_materials.c | |
parent | 88602ea017da9b658e0e03d2f740098fcc0e6cc4 (diff) |
Eevee: Split irradiance functions to their own new file.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_materials.c')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_materials.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_materials.c b/source/blender/draw/engines/eevee/eevee_materials.c index 6de9e7fef1d..35dcc8dbd88 100644 --- a/source/blender/draw/engines/eevee/eevee_materials.c +++ b/source/blender/draw/engines/eevee/eevee_materials.c @@ -83,6 +83,7 @@ extern char datatoc_bsdf_lut_frag_glsl[]; extern char datatoc_bsdf_common_lib_glsl[]; extern char datatoc_bsdf_direct_lib_glsl[]; extern char datatoc_bsdf_sampling_lib_glsl[]; +extern char datatoc_irradiance_lib_glsl[]; extern char datatoc_lit_surface_frag_glsl[]; extern char datatoc_lit_surface_vert_glsl[]; extern char datatoc_shadow_frag_glsl[]; @@ -167,6 +168,7 @@ void EEVEE_materials_init(void) /* Shaders */ DynStr *ds_frag = BLI_dynstr_new(); BLI_dynstr_append(ds_frag, datatoc_bsdf_common_lib_glsl); + BLI_dynstr_append(ds_frag, datatoc_irradiance_lib_glsl); BLI_dynstr_append(ds_frag, datatoc_ltc_lib_glsl); BLI_dynstr_append(ds_frag, datatoc_bsdf_direct_lib_glsl); BLI_dynstr_append(ds_frag, datatoc_lit_surface_frag_glsl); |