Browse Source

Merge pull request #45622 from WeaselShoppe/3.2

lightmap capture broken on webgl1.0
Rémi Verschelde 4 years ago
parent
commit
3502a5bc36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gles2/shaders/scene.glsl

+ 1 - 1
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