mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-24 04:28:18 +00:00
lightmap capture broken on webgl1.0
lightmap capture uniform definition caused shader compile errors on WebGL1.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user