mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
feat: increase smoke particle emission rate from 8 to 16 per second for denser effects
This commit is contained in:
parent
1808d98978
commit
176b8bdc3d
1 changed files with 1 additions and 1 deletions
|
|
@ -2031,7 +2031,7 @@ void M2Renderer::update(float deltaTime, const glm::vec3& cameraPos, const glm::
|
|||
std::uniform_real_distribution<float> distDrift(-0.2f, 0.2f);
|
||||
|
||||
smokeEmitAccum += deltaTime;
|
||||
float emitInterval = 1.0f / 8.0f; // 8 particles per second per emitter
|
||||
float emitInterval = 1.0f / 16.0f; // 16 particles per second per emitter
|
||||
|
||||
if (smokeEmitAccum >= emitInterval &&
|
||||
static_cast<int>(smokeParticles.size()) < MAX_SMOKE_PARTICLES) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue