chunk gen now tries nodes first, also messed around a lot w rendering
This commit is contained in:
@@ -4,7 +4,7 @@ pub mod voxel;
|
||||
pub use command::*;
|
||||
|
||||
use super::camera::Camera;
|
||||
use crate::client::rsc::CLEAR_COLOR;
|
||||
use crate::{client::rsc::CLEAR_COLOR, util::timer::Timer};
|
||||
use nalgebra::Vector2;
|
||||
use util::DepthTexture;
|
||||
use voxel::VoxelPipeline;
|
||||
@@ -114,6 +114,7 @@ impl<'a> Renderer<'a> {
|
||||
let view = output
|
||||
.texture
|
||||
.create_view(&wgpu::TextureViewDescriptor::default());
|
||||
|
||||
let mut compute_pass = encoder.begin_compute_pass(&wgpu::ComputePassDescriptor {
|
||||
label: None,
|
||||
timestamp_writes: None,
|
||||
|
||||
Reference in New Issue
Block a user