From ff97545c50f458a62a2ea412f8411f8bb34b9c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 7 Jul 2020 18:37:35 +0200 Subject: Fix T75943 EEVEE: Cubemaps shows black Caused by faulty driver implementation. Force fallback method. --- source/blender/gpu/intern/gpu_extensions.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/gpu/intern/gpu_extensions.c') diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 4e4e9c526d0..0fd373d37a3 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -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; -- cgit v1.2.3