From 2469b613ebdea4616d864d3a004a788c56151524 Mon Sep 17 00:00:00 2001 From: yuni Date: Thu, 10 Oct 2024 23:06:46 +0200 Subject: [PATCH] WIP skybox --- src/world.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/world.rs b/src/world.rs index 2517005..6ef0144 100644 --- a/src/world.rs +++ b/src/world.rs @@ -183,6 +183,16 @@ pub fn setup( transform: Transform::from_translation(Vec3::new(0.0, 0.0, 0.0)), ..default() }); + //commands.spawn(MaterialMeshBundle { + // mesh: meshes.add(mesh), + // material: materials.add(StandardMaterial { + // base_color_texture: Some(asset_server.load("models/textures/milkyway.jpg")), + // unlit: true, + // ..default() + // }), + // transform: Transform::from_rotation(Quat::from_rotation_x(-90f32.to_radians())), + // ..default() + //}); } }