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

View File

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