mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed lava
This commit is contained in:
parent
07ba4dcc33
commit
2694f5f917
@ -391,7 +391,7 @@ void main() {
|
|||||||
|
|
||||||
max_light += lights_at(f_pos, f_norm, view_dir, mu, cam_attenuation, fluid_alt, k_a, k_d, k_s, alpha, f_norm, 1.0, emitted_light, reflected_light);
|
max_light += lights_at(f_pos, f_norm, view_dir, mu, cam_attenuation, fluid_alt, k_a, k_d, k_s, alpha, f_norm, 1.0, emitted_light, reflected_light);
|
||||||
|
|
||||||
reflected_light *= 0.3 + f_ao * 0.7;
|
/* reflected_light *= 0.4 + f_ao * 0.6; */
|
||||||
|
|
||||||
#ifndef EXPERIMENTAL_NOCAUSTICS
|
#ifndef EXPERIMENTAL_NOCAUSTICS
|
||||||
#if (FLUID_MODE == FLUID_MODE_SHINY)
|
#if (FLUID_MODE == FLUID_MODE_SHINY)
|
||||||
|
@ -699,7 +699,7 @@ fn write_column<R: Rng>(
|
|||||||
} {
|
} {
|
||||||
Block::new(BlockKind::Rock, col.stone_col)
|
Block::new(BlockKind::Rock, col.stone_col)
|
||||||
} else {
|
} else {
|
||||||
get_mushroom(wpos, rng).unwrap_or(block)
|
get_mushroom(wpos, rng).unwrap_or(Block::air(SpriteKind::Empty))
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user