forked from StrafesNET/strafe-client
back face culling
This commit is contained in:
parent
e1f4f6e535
commit
08d4e7d997
@ -802,6 +802,7 @@ impl GraphicsState{
|
|||||||
}),
|
}),
|
||||||
primitive: wgpu::PrimitiveState {
|
primitive: wgpu::PrimitiveState {
|
||||||
front_face: wgpu::FrontFace::Cw,
|
front_face: wgpu::FrontFace::Cw,
|
||||||
|
cull_mode:Some(wgpu::Face::Front),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
depth_stencil: Some(wgpu::DepthStencilState {
|
depth_stencil: Some(wgpu::DepthStencilState {
|
||||||
|
Loading…
Reference in New Issue
Block a user