add plane below the player
This commit is contained in:
parent
f337a6024c
commit
57e5241abf
|
@ -58,6 +58,13 @@ pub fn setup(
|
|||
..default()
|
||||
});
|
||||
|
||||
commands.spawn(PbrBundle {
|
||||
mesh: meshes.add(Plane3d::default().mesh().size(20.0, 20.0)),
|
||||
transform: Transform::from_xyz(0.0, -20.0, 0.0),
|
||||
material: white_handle,
|
||||
..default()
|
||||
});
|
||||
|
||||
// Space is DARK
|
||||
ambient_light.brightness = 0.0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue