mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Increase lava/magma particle emission rate from 32 to 48 per second
Addresses sparseness in lava/magma effects noted in status documentation. Higher emission rate (48 vs 32 per second) makes lava/slime areas visually denser and more immersive while staying within GPU budget constraints.
This commit is contained in:
parent
eef269ffb8
commit
f6f072a957
1 changed files with 1 additions and 1 deletions
|
|
@ -1997,7 +1997,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 / 32.0f; // 32 particles per second per emitter (was 16; increased for denser lava/magma effects)
|
||||
float emitInterval = 1.0f / 48.0f; // 48 particles per second per emitter (was 32; increased for denser lava/magma steam effects in sparse areas)
|
||||
|
||||
if (smokeEmitAccum >= emitInterval &&
|
||||
static_cast<int>(smokeParticles.size()) < MAX_SMOKE_PARTICLES) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue