From 1912cc3eef59918ad3ac01faecdc4651ec6a5ebc Mon Sep 17 00:00:00 2001 From: WeaselShoppe <71855294+WeaselShoppe@users.noreply.github.com> Date: Sun, 31 Jan 2021 20:52:02 -0600 Subject: [PATCH] lightmap capture broken on webgl1.0 lightmap capture uniform definition caused shader compile errors on WebGL1.0 --- drivers/gles2/shaders/scene.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gles2/shaders/scene.glsl b/drivers/gles2/shaders/scene.glsl index 9b2521c2c1..d7a3f4995e 100644 --- a/drivers/gles2/shaders/scene.glsl +++ b/drivers/gles2/shaders/scene.glsl @@ -955,7 +955,7 @@ vec4 texture2D_bicubic(sampler2D tex, vec2 uv) { #endif #ifdef USE_LIGHTMAP_CAPTURE -uniform mediump vec4[12] lightmap_captures; +uniform mediump vec4 lightmap_captures[12]; uniform bool lightmap_capture_sky; #endif