mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
fix gles2 spotlight problem
This commit is contained in:
parent
e8cdbf99e9
commit
9f48094982
@ -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 New Issue
Block a user