Skip to content

Commit

Permalink
Change plane color to green
Browse files Browse the repository at this point in the history
  • Loading branch information
aevyrie committed Nov 4, 2023
1 parent 88b97ca commit 02ce409
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/3d/anti_aliasing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ fn setup(
// Plane
commands.spawn(PbrBundle {
mesh: meshes.add(shape::Plane::from_size(50.0).into()),
material: materials.add(Color::GRAY.into()),
material: materials.add(Color::rgb(0.1, 0.2, 0.1).into()),
..default()
});

Expand Down
2 changes: 1 addition & 1 deletion examples/3d/deferred_rendering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn setup(
..default()
});

let mut forward_mat: StandardMaterial = Color::GRAY.into();
let mut forward_mat: StandardMaterial = Color::rgb(0.1, 0.2, 0.1).into();
forward_mat.opaque_render_method = OpaqueRendererMethod::Forward;
let forward_mat_h = materials.add(forward_mat);

Expand Down
2 changes: 1 addition & 1 deletion examples/3d/tonemapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn setup_basic_scene(
commands.spawn((
PbrBundle {
mesh: meshes.add(shape::Plane::from_size(50.0).into()),
material: materials.add(Color::GRAY.into()),
material: materials.add(Color::rgb(0.1, 0.2, 0.1).into()),
..default()
},
SceneNumber(1),
Expand Down

0 comments on commit 02ce409

Please sign in to comment.