~tagglink/solar-system

acb1ac03bdd2e89e877c43180bb4912056eca4d9 — Tomas Granlund 10 months ago ad2fc0c
added vim ignore to gitignore. switched to pbr shading
3 files changed, 7 insertions(+), 9 deletions(-)

M .gitignore
M config/display.ron
M src/main.rs
M .gitignore => .gitignore +3 -0
@@ 8,6 8,9 @@
# Sublime Text
*.sublime-workspace

# Vim
*.swp

# Heavy files
3d-workspace/


M config/display.ron => config/display.ron +0 -5
@@ 1,8 1,3 @@
/*!
    @import /amethyst_window/src/config.rs#DisplayConfig
    DisplayConfig
*/

(
  title: "Solar System",
  dimensions: Some((640, 360)),

M src/main.rs => src/main.rs +4 -4
@@ 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(