mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-12-24 16:44:10 +00:00
09915f521d
* chore(crates): updated crates to Bevy 0.13 * updated deps * updated / changed code where relevant * updated README files * bumped version numbers for upcoming release * updated rust-toolchain * updated assets where relevant * closes #132 * feat(bevy_gltf_components): * added GltfProcessed flag component to improve performance of iteration over added<gltfExtras> * closes #144 * light & shadow processing is now integrated, to match lights coming from Blender: you can now control whether lights cast shadows, the cascade resolution , background color etc from Blender * closes #155 * feat(bevy_registry_export): added boilerplate to make registry path relative to assets folder * closes #137 * feat(tools): added boilerplate for internal tools * clean zip file generator for blender add-on releases * example gltf file generator * feat(lighting): added components, exporter support & testing for blender-configurable shadows * added BlenderLightShadows component to bevy_gltf_components * added writing shadow information to gltf_auto_export * updated tests * closes #157 Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
25 lines
577 B
Rust
25 lines
577 B
Rust
use bevy::prelude::*;
|
|
use bevy_gltf_worlflow_examples_common_rapier::CommonPlugin;
|
|
|
|
mod core;
|
|
use crate::core::*;
|
|
|
|
mod game;
|
|
use game::*;
|
|
|
|
mod test_components;
|
|
use test_components::*;
|
|
|
|
fn main() {
|
|
App::new()
|
|
.add_plugins((
|
|
DefaultPlugins.set(AssetPlugin::default()),
|
|
// our custom plugins
|
|
CommonPlugin,
|
|
CorePlugin, // reusable plugins
|
|
GamePlugin, // specific to our game
|
|
ComponentsTestPlugin, // Showcases different type of components /structs
|
|
))
|
|
.run();
|
|
}
|