Fix #22591: shader failed to compile when shadow enabled because of incompatible assignment of vec3 to a vec4.
This commit is contained in:
parent
344a453bb8
commit
700d5d26c9
@ -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 New Issue
Block a user