From 8ebc94fd9e49f83c1a41a61c7780c817d8e3883e Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 2 May 2024 01:13:21 +0200 Subject: [PATCH] set discard_alpha --- kubi/src/rendering/world.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kubi/src/rendering/world.rs b/kubi/src/rendering/world.rs index 80dd02f..2c07b93 100644 --- a/kubi/src/rendering/world.rs +++ b/kubi/src/rendering/world.rs @@ -106,6 +106,7 @@ pub fn draw_world( view: view, perspective: perspective, tex: texture_sampler, + discard_alpha: true, }, &draw_parameters ).unwrap(); @@ -130,6 +131,7 @@ pub fn draw_world( view: view, perspective: perspective, tex: texture_sampler, + discard_alpha: false, }, &draw_parameters ).unwrap();