bevy_normal_material 0.2.0

Simple normal material for Bevy
Documentation

# Bevy Normal Material

[![crates.io](https://img.shields.io/crates/v/bevy_normal_material)](https://crates.io/crates/bevy_normal_material)

Simple normal material for Bevy.

![Example](https://user-images.githubusercontent.com/1085910/202606799-2f8851cf-3006-44f2-a0e5-5cccbd76ea3a.png)

## Usage

### System setup

Add the plugin to your app:

```rust
use bevy::prelude::*;
use bevy_normal_material::prelude::*;

fn main() {
    App::new()
        .add_plugin(NormalMaterialPlugin);
}
```

### Apply a component to a MaterialMeshBundle

```rust
fn setup(
    mut commands: Commands,
    mut meshes: ResMut<Assets<Mesh>>,
    mut materials: ResMut<Assets<NormalMaterial>>,
) {
    commands.spawn(MaterialMeshBundle {
        mesh: meshes.add(Mesh::from(shape::Cube { size: 1.0 })),
        material: materials.add(NormalMaterial::default()),
        ..Default::default()
    });
}
```

## Compatibility

| bevy | bevy_normal_material |
| ---- | ------------- |
| 0.9  | 0.1           |