tbillington / bevy_toon_shader

Toon Shader for the bevy game engine
Apache License 2.0
95 stars 9 forks source link

Converting loaded assets to use toon shaded materials needs an example #3

Open alice-i-cecile opened 1 year ago

alice-i-cecile commented 1 year ago

This is surprisingly tricky, but essential for using this crate in more serious games.

alice-i-cecile commented 1 year ago

The best approach I've been able to find is https://github.com/DGriffin91/bevy_mod_standard_material. This would make a great example.

tbillington commented 1 year ago

Yep can make an example based on bevy_mod_standard_material.

I assume at some point using a different material for spawned scenes would be a "bevy" level feature.

alice-i-cecile commented 1 year ago

Yep, this should be feasible with the asset preprocessing work that Cart's been working on. Figuring out the pattern / an example here will give us something to steal lovingly borrow as an example for upstream too.

mattoni commented 9 months ago

Any examples on how to use this on a loaded gltf scene?