Skip to content

Commit aa8ac5f

Browse files
committed
Update Rain.h
Откатил обратно кол-во дождя, чтобы на очень слабых PC было меньше лагов
1 parent 0537a08 commit aa8ac5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ogsr_engine/xr_3da/Rain.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#include "../xrcdb/xr_collide_defs.h"
77

8-
constexpr float max_desired_items = 3500.f; // 2500.f
9-
constexpr float min_desired_items = max_desired_items / 10.f;
8+
inline const float max_desired_items = std::thread::hardware_concurrency() < 3u ? 1500.f : 2500.f;
9+
inline const float min_desired_items = max_desired_items / 10.f;
1010

1111
constexpr float source_radius = 15.f; // 12.5f;
1212
constexpr float source_offset = 40.f;

0 commit comments

Comments
 (0)