Merge pull request #10624 from letheed/master

Fix shadow filter pcf5 implemented as pcf7
This commit is contained in:
Rémi Verschelde 2017-08-31 11:01:57 +02:00 committed by GitHub
commit f1e3dec442

View file

@ -572,13 +572,11 @@ FRAGMENT_SHADER_CODE
#ifdef SHADOW_FILTER_PCF5
SHADOW_TEST(su+shadowpixel_size*3.0);
SHADOW_TEST(su+shadowpixel_size*2.0);
SHADOW_TEST(su+shadowpixel_size);
SHADOW_TEST(su);
SHADOW_TEST(su-shadowpixel_size);
SHADOW_TEST(su-shadowpixel_size*2.0);
SHADOW_TEST(su-shadowpixel_size*3.0);
shadow_attenuation/=5.0;
#endif
@ -635,4 +633,3 @@ FRAGMENT_SHADER_CODE
frag_color = color;
}