adjustments to firefly density

This commit is contained in:
Monty Marz 2020-09-02 13:50:16 +02:00 committed by Joshua Barretto
parent 57ccf4863e
commit b24f5b5b24
2 changed files with 5 additions and 10 deletions

View File

@ -322,8 +322,8 @@ impl ParticleMgr {
),
(
|boi| &boi.reeds,
3,
0.01,
6,
0.004,
40.0,
ParticleMode::Firefly,
|sd| sd.state.get_day_period().is_dark(),
@ -331,7 +331,7 @@ impl ParticleMgr {
(
|boi| &boi.flowers,
5,
0.005,
0.002,
40.0,
ParticleMode::Firefly,
|sd| sd.state.get_day_period().is_dark(),

View File

@ -1,9 +1,4 @@
use crate::{
column::ColumnSample,
sim::SimChunk,
util::{RandomField},
IndexRef, CONFIG,
};
use crate::{column::ColumnSample, sim::SimChunk, util::RandomField, IndexRef, CONFIG};
use common::{
terrain::{Block, BlockKind},
vol::{BaseVol, ReadVol, RectSizedVol, WriteVol},
@ -102,7 +97,7 @@ pub fn apply_scatter_to<'a>(
* col.tree_density
* MUSH_FACT
* 350.0,
Some((1024.0, 0.15)),
Some((300.0, 0.2)),
)
}),
// Herbs and Spices