Archived
1
Fork 0

Reduce shadow and probe generation delay from 5->1 frames

This commit is contained in:
redstrate 2021-06-01 12:34:32 -04:00
parent 5490b20769
commit 18bf9902e0

View file

@ -237,8 +237,8 @@ public:
std::array<bool, max_point_shadows> point_light_dirty; std::array<bool, max_point_shadows> point_light_dirty;
std::array<bool, max_spot_shadows> spot_light_dirty; std::array<bool, max_spot_shadows> spot_light_dirty;
int shadow_refresh_timer = 5; int shadow_refresh_timer = 1;
int probe_refresh_timer = 5; int probe_refresh_timer = 1;
// environment // environment
std::array<bool, max_environment_probes> environment_dirty; std::array<bool, max_environment_probes> environment_dirty;