diff options
author | Gitea <gitea@fake.local> | 2018-12-20 13:54:56 +0800 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2018-12-20 15:01:59 +0800 |
commit | 9f480949823435b41f970841cfe2fccc4608e947 (patch) | |
tree | 57cf3f5639c705d3439966b8763034ca6a2cf37a | |
parent | e8cdbf99e9bd9757f8d2630e66ba12654b05fbda (diff) |
fix gles2 spotlight problem
-rw-r--r-- | drivers/gles2/shaders/scene.glsl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gles2/shaders/scene.glsl b/drivers/gles2/shaders/scene.glsl index aba283970a..8ccaeda0ce 100644 --- a/drivers/gles2/shaders/scene.glsl +++ b/drivers/gles2/shaders/scene.glsl @@ -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; |