stylized 1-bit rendering
This commit is contained in:
@@ -20,7 +20,7 @@ impl CameraComponent
|
||||
fov: 45.0_f32.to_radians(),
|
||||
aspect,
|
||||
near: 0.1,
|
||||
far: 100.0,
|
||||
far: 2000.0,
|
||||
yaw: -135.0_f32.to_radians(),
|
||||
pitch: -30.0_f32.to_radians(),
|
||||
is_active: true,
|
||||
|
||||
@@ -8,4 +8,6 @@ pub struct MeshComponent
|
||||
{
|
||||
pub mesh: Rc<Mesh>,
|
||||
pub pipeline: Pipeline,
|
||||
pub instance_buffer: Option<wgpu::Buffer>,
|
||||
pub num_instances: u32,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user