WIP skybox
This commit is contained in:
parent
16811fc61c
commit
2469b613eb
10
src/world.rs
10
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()
|
||||
//});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue