From 83077c23fe5f067b782c2ac25f2e9165861517d4 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 13 Jan 2025 16:37:32 +0100 Subject: double sided meshes in client --- client/src/scene_prepare.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/scene_prepare.rs') diff --git a/client/src/scene_prepare.rs b/client/src/scene_prepare.rs index 2b3e2e7..d26ed1c 100644 --- a/client/src/scene_prepare.rs +++ b/client/src/scene_prepare.rs @@ -97,6 +97,7 @@ pub struct RMeshPart { pub va_texcoord: Arc, pub tex_albedo: Arc, pub tex_normal: Arc, + pub double_sided: bool, } impl ScenePreparer { @@ -290,6 +291,7 @@ impl ScenePreparer { va_texcoord, tex_albedo, tex_normal, + double_sided: part.g_double_sided.is_some(), }), ); num_done += 1; -- cgit v1.2.3-70-g09d2