|
|
@ -28,14 +28,6 @@ fn startup(
|
|
|
|
alpha_mode: AlphaMode::Blend,
|
|
|
|
alpha_mode: AlphaMode::Blend,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// Standard material with opaque grid texture (stretched)
|
|
|
|
|
|
|
|
// let material = materials.add(StandardMaterial {
|
|
|
|
|
|
|
|
// base_color_texture: Some(grid_texture.clone()),
|
|
|
|
|
|
|
|
// alpha_mode: AlphaMode::Opaque,
|
|
|
|
|
|
|
|
// unlit: true,
|
|
|
|
|
|
|
|
// ..default()
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let solid_material = solid_materials.add(materials::SolidMaterial{});
|
|
|
|
let solid_material = solid_materials.add(materials::SolidMaterial{});
|
|
|
|
|
|
|
|
|
|
|
|
// a ground plane
|
|
|
|
// a ground plane
|
|
|
|