This PR fixes a typo in conditions checking the value of SHADOW_MAP_QUALITY, which causes shadow_very_high.fx to have the same effect as shadow_high.fx.
Also fixes an issue where tube light's very_high.fx has the same SHADOW_MAP_QUALITY value as high.fx, as well as renaming those files.
Before:
(using spot_lighting_with_shadow_very_high.fx, but got the same effect as spot_lighting_with_shadow_high.fx)
After:
Besides, I noticed another inconsistency regarding fog shadows, where quality variable is named VOLUMETRIC_FOG_MAP_QUALITY in shadow presets (such as spot_fog_with_shadow_high.fx), but named VOLUMETRIC_FOG_QUALITY in files that reference it (such as spot_fog.fxsub). I wasn't sure if this is expected, so just left them untouched.
Btw, looks like this project has got some development activities recently, I'm glad to see that!
This PR fixes a typo in conditions checking the value of
SHADOW_MAP_QUALITY
, which causesshadow_very_high.fx
to have the same effect asshadow_high.fx
.Also fixes an issue where tube light's
very_high.fx
has the sameSHADOW_MAP_QUALITY
value ashigh.fx
, as well as renaming those files.Before: (using![screenshot shadow](https://user-images.githubusercontent.com/46285865/140986520-f42e9983-91eb-41e2-b044-af371df96d1f.png)
spot_lighting_with_shadow_very_high.fx
, but got the same effect asspot_lighting_with_shadow_high.fx
)After:![screenshot shadow1](https://user-images.githubusercontent.com/46285865/140986587-1582e3bf-2e47-4a91-b900-cd9c8413e3c9.png)
Besides, I noticed another inconsistency regarding fog shadows, where quality variable is named
VOLUMETRIC_FOG_MAP_QUALITY
in shadow presets (such asspot_fog_with_shadow_high.fx
), but namedVOLUMETRIC_FOG_QUALITY
in files that reference it (such asspot_fog.fxsub
). I wasn't sure if this is expected, so just left them untouched.Btw, looks like this project has got some development activities recently, I'm glad to see that!