material-maker
material-maker copied to clipboard
Support Bevy
Feature/enhancement description:
Support Bevy as an export target. Bevy is built on wgpu and uses wgsl for shaders.
Does Bevy have a standard material resource format? If so, can you link to it?
There's not a binary format yet. The definition is in rust source code and shaders are referenced either by asset path or included as strings in the source.
Here's an example of the standard Pbr material extracted into an external library and the shader it uses. And here's a much smaller example of a basic toon shading material.
This is the definition of the Material
interface the code must implement.
You can already create custom export targets (provided materials can be described as text and image files), creating a Bevy export should be pretty easy. Please don't hesitate to join the Discord server if you need help for this.