Merge pull request #10624 from letheed/master
Fix shadow filter pcf5 implemented as pcf7
This commit is contained in:
commit
f1e3dec442
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue