Skip to content

Commit

Permalink
Update Rain.h
Browse files Browse the repository at this point in the history
Откатил обратно кол-во дождя, чтобы на очень слабых PC было меньше лагов
  • Loading branch information
xrSimpodin committed Dec 24, 2023
1 parent 318cd0f commit 078f291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ogsr_engine/xr_3da/Rain.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

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

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

constexpr float source_radius = 15.f; // 12.5f;
constexpr float source_offset = 40.f;
Expand Down

0 comments on commit 078f291

Please sign in to comment.