mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix todos
This commit is contained in:
parent
a93240d2a6
commit
6274d54e56
@ -431,7 +431,6 @@ impl GlobalsLayouts {
|
||||
wgpu::BindGroupLayoutEntry {
|
||||
binding: 14,
|
||||
visibility: wgpu::ShaderStage::VERTEX | wgpu::ShaderStage::FRAGMENT,
|
||||
// TODO: is this relevant?
|
||||
ty: wgpu::BindingType::Buffer {
|
||||
ty: wgpu::BufferBindingType::Uniform,
|
||||
has_dynamic_offset: false,
|
||||
|
@ -13,6 +13,7 @@ use common::{
|
||||
lod,
|
||||
spiral::Spiral2d,
|
||||
util::srgba_to_linear,
|
||||
weather
|
||||
};
|
||||
use hashbrown::HashMap;
|
||||
use std::ops::Range;
|
||||
@ -52,7 +53,7 @@ impl Lod {
|
||||
client.world_data().lod_base.raw(),
|
||||
client.world_data().lod_alt.raw(),
|
||||
client.world_data().lod_horizon.raw(),
|
||||
client.world_data().chunk_size().as_() / 16, // TODO: Send this from the server.
|
||||
client.world_data().chunk_size().as_() / weather::CHUNKS_PER_CELL,
|
||||
settings.graphics.lod_detail.max(100).min(2500),
|
||||
/* TODO: figure out how we want to do this without color borders?
|
||||
* water_color().into_array().into(), */
|
||||
|
@ -1514,7 +1514,7 @@ impl<V: RectRasterableVol> Terrain<V> {
|
||||
// Find a way to keep this?
|
||||
// .filter(|chunk| chunk.can_shadow_sun())
|
||||
.filter_map(|chunk| {
|
||||
// TODO: Should the fuid model also be considered here?
|
||||
// TODO: Should the fluid model also be considered here?
|
||||
chunk
|
||||
.opaque_model
|
||||
.as_ref()
|
||||
|
Loading…
Reference in New Issue
Block a user