mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Corrected shadow cull mode
This commit is contained in:
parent
a1ab844834
commit
6228430002
@ -166,7 +166,7 @@ impl ShadowFigurePipeline {
|
||||
topology: wgpu::PrimitiveTopology::TriangleList,
|
||||
strip_index_format: None,
|
||||
front_face: wgpu::FrontFace::Ccw,
|
||||
cull_mode: wgpu::CullMode::Back,
|
||||
cull_mode: wgpu::CullMode::Front,
|
||||
polygon_mode: wgpu::PolygonMode::Fill,
|
||||
},
|
||||
depth_stencil: Some(wgpu::DepthStencilState {
|
||||
@ -240,7 +240,7 @@ impl ShadowPipeline {
|
||||
topology: wgpu::PrimitiveTopology::TriangleList,
|
||||
strip_index_format: None,
|
||||
front_face: wgpu::FrontFace::Ccw,
|
||||
cull_mode: wgpu::CullMode::Back,
|
||||
cull_mode: wgpu::CullMode::Front,
|
||||
polygon_mode: wgpu::PolygonMode::Fill,
|
||||
},
|
||||
depth_stencil: Some(wgpu::DepthStencilState {
|
||||
|
Loading…
Reference in New Issue
Block a user