docs.rs failed to build bevy_ambient_cg-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
bevy_ambient_cg-0.1.1
bevy_ambient_cg
Summary
This plugin allows you to easily import Ambient CG materials into Bevy with only a few lines of code.
Roughness/Metallic maps are automatically constructed with roughness data and metallic data going in the green and blue channels respectively of a generated map during runtime. No manual file conversions!
As of now, only JPEG format images are implemented and will require enabling the bevy jpg feature.
cargo add bevy -F jpg
Examples
Constructing an ambient CG material resource
pub const EXAMPLE_000: AmbientCGMaterial = AmbientCGMaterial ;
pub const EXAMPLE_001: AmbientCGMaterial = AmbientCGMaterial ;
Initializing plugin
Load a material and apply to mesh