WIP skybox

This commit is contained in:
yuni 2024-10-10 23:06:46 +02:00
parent 16811fc61c
commit 2469b613eb

View file

@ -183,6 +183,16 @@ pub fn setup(
transform: Transform::from_translation(Vec3::new(0.0, 0.0, 0.0)), transform: Transform::from_translation(Vec3::new(0.0, 0.0, 0.0)),
..default() ..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()
//});
} }
} }