Merge pull request #22690 from jfmichaud31/fix_gles2_shader
Fix #22591: shader error when shadow enabled
This commit is contained in:
commit
05fe312180
1 changed files with 1 additions and 1 deletions
|
@ -1630,7 +1630,7 @@ FRAGMENT_SHADER_CODE
|
|||
highp vec4 splane = shadow_coord;
|
||||
float shadow_len = length(splane.xyz);
|
||||
|
||||
splane = normalize(splane.xyz);
|
||||
splane.xyz = normalize(splane.xyz);
|
||||
|
||||
vec4 clamp_rect = light_clamp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue