set discard_alpha

This commit is contained in:
griffi-gh 2024-05-02 01:13:21 +02:00
parent 184be9393c
commit 8ebc94fd9e

View file

@ -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();