Fix T75943 EEVEE: Cubemaps shows black

Caused by faulty driver implementation. Force fallback method.
This commit is contained in:
Clément Foucault 2020-07-07 18:37:35 +02:00
parent 1e2ff4f81b
commit ff97545c50
Notes: blender-bot 2023-02-14 06:55:40 +01:00
Referenced by commit b64ae920e4, Fix T79158: Eevee cubemaps shows black
Referenced by commit 65aba4fc7a, Fix T79158: Eevee cubemaps shows black
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
Referenced by issue #75943, EEVEE can't show reflections from hdri - blender v2.83.13 beta
1 changed files with 6 additions and 0 deletions

View File

@ -348,6 +348,12 @@ void gpu_extensions_init(void)
GG.mip_render_workaround = true;
}
/* Intel Ivy Bridge GPU's seems to have buggy cubemap array support. (see T75943) */
if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) &&
(strstr(renderer, "HD Graphics 4000") || strstr(renderer, "HD Graphics 2500"))) {
GG.glew_arb_texture_cube_map_array_is_supported = false;
}
/* df/dy calculation factors, those are dependent on driver */
GG.dfdyfactors[0] = 1.0;
GG.dfdyfactors[1] = 1.0;