Archived
1
Fork 0

Disable expensive normal self-shadowing by default

This commit is contained in:
Joshua Goins 2022-02-21 17:05:41 -05:00
parent 8361590294
commit a456dcb41a

View file

@ -29,7 +29,7 @@ constexpr ShadowFilter default_shadow_filter = ShadowFilter::PCF;
constexpr int default_shadow_resolution = 1024; constexpr int default_shadow_resolution = 1024;
#else #else
constexpr bool default_enable_ibl = true; constexpr bool default_enable_ibl = true;
constexpr bool default_enable_normal_mapping = true; constexpr bool default_enable_normal_mapping = false;
constexpr bool default_enable_point_shadows = true; constexpr bool default_enable_point_shadows = true;
constexpr ShadowFilter default_shadow_filter = ShadowFilter::PCSS; constexpr ShadowFilter default_shadow_filter = ShadowFilter::PCSS;
constexpr int default_shadow_resolution = 2048; constexpr int default_shadow_resolution = 2048;