fix todos

This commit is contained in:
IsseW 2022-04-19 21:28:21 +02:00
parent a93240d2a6
commit 6274d54e56
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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(), */

View File

@ -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()