@@ 1,8 1,3 @@
-/*!
- @import /amethyst_window/src/config.rs#DisplayConfig
- DisplayConfig
-*/
-
(
title: "Solar System",
dimensions: Some((640, 360)),
@@ 9,7 9,7 @@ use amethyst::{
plugins::RenderToWindow,
rendy::core::hal::command::ClearColor,
types::DefaultBackend,
- MeshProcessorSystem, TextureProcessorSystem, RenderingBundle, RenderShaded3D,
+ MeshProcessorSystem, TextureProcessorSystem, RenderingBundle, RenderShaded3D, RenderPbr3D,
},
utils::{application_root_dir, auto_fov::AutoFovSystem},
GameData,
@@ 77,11 77,11 @@ fn main() -> amethyst::Result<()> {
.with_plugin(
RenderToWindow::from_config_path(display_config_path)?.with_clear(ClearColor { float32: [0.0, 0.0, 0.0, 1.0] }),
)
- .with_plugin(RenderShaded3D::default())
+ .with_plugin(RenderPbr3D::default())
//.with_plugin(RenderUi::default()),
)
- .add_system(MeshProcessorSystem::<DefaultBackend>::default())
- .add_system(TextureProcessorSystem::<DefaultBackend>::default())
+ //.add_system(MeshProcessorSystem::<DefaultBackend>::default())
+ //.add_system(TextureProcessorSystem::<DefaultBackend>::default())
.add_system(AutoFovSystem)
//.add_system(IndicatorSystem::default())
.add_system(