Merge pull request #24495 from vipsbpig/pr-fix-gles2-spotlight
Fix GLES2 Spotlight shadow problem
This commit is contained in:
commit
1a2fc40f86
1 changed files with 0 additions and 1 deletions
|
@ -1914,7 +1914,6 @@ FRAGMENT_SHADER_CODE
|
|||
#ifdef USE_SHADOW
|
||||
{
|
||||
highp vec4 splane = shadow_coord;
|
||||
splane.xyz /= splane.w;
|
||||
|
||||
float shadow = sample_shadow(light_shadow_atlas, splane);
|
||||
light_att *= shadow;
|
||||
|
|
Loading…
Reference in a new issue