Open jabuwu opened 1 year ago
For some animations, it is preferable to enable backface culling. Currently, it's hardcoded to be enabled for all skeletons:
https://github.com/jabuwu/bevy_spine/blob/920eb6364845a6edef72d9e1098d13bba807a4af/src/materials.rs#L111
Unfortunately, materials cannot be specialized per-instance, so 8 more materials will need to be added (the same 8 materials we have already, but with cull mode enabled). Instead, this might need to rely on #3
For some animations, it is preferable to enable backface culling. Currently, it's hardcoded to be enabled for all skeletons:
https://github.com/jabuwu/bevy_spine/blob/920eb6364845a6edef72d9e1098d13bba807a4af/src/materials.rs#L111
Unfortunately, materials cannot be specialized per-instance, so 8 more materials will need to be added (the same 8 materials we have already, but with cull mode enabled). Instead, this might need to rely on #3