From 622843000278b86f882236b7f55f8c0c68894232 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Thu, 4 Feb 2021 14:10:24 +0000 Subject: [PATCH] Corrected shadow cull mode --- voxygen/src/render/pipelines/shadow.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voxygen/src/render/pipelines/shadow.rs b/voxygen/src/render/pipelines/shadow.rs index a74d4e7957..72b9b378da 100644 --- a/voxygen/src/render/pipelines/shadow.rs +++ b/voxygen/src/render/pipelines/shadow.rs @@ -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 {