WIP: eevee-next-world-irradiance #108304
|
@ -484,6 +484,8 @@ void Instance::light_bake_irradiance(
|
|||
render_sync();
|
||||
manager->end_sync();
|
||||
|
||||
pipelines.world_probe.render();
|
||||
|
||||
irradiance_cache.bake.surfels_create(probe);
|
||||
irradiance_cache.bake.surfels_lights_eval();
|
||||
});
|
||||
|
|
|
@ -894,6 +894,11 @@ static char *glsl_patch_compute_get()
|
|||
STR_CONCAT(patch, slen, "#version 430\n");
|
||||
STR_CONCAT(patch, slen, "#extension GL_ARB_compute_shader :enable\n");
|
||||
|
||||
if (GLContext::texture_cube_map_array_support) {
|
||||
STR_CONCAT(patch, slen, "#extension GL_ARB_texture_cube_map_array : enable\n");
|
||||
STR_CONCAT(patch, slen, "#define GPU_ARB_texture_cube_map_array\n");
|
||||
}
|
||||
|
||||
/* Array compat. */
|
||||
STR_CONCAT(patch, slen, "#define gpu_Array(_type) _type[]\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue