bgel

Crates.iobgel
lib.rsbgel
version0.1.2
sourcesrc
created_at2024-06-22 09:35:33.69884
updated_at2024-06-23 17:31:42.37748
descriptionA library to apply Khronos glTF extensions to Bevy models
homepagehttps://github.com/Iaphetes/Bevy-glTF-Extended-Loader
repositoryhttps://github.com/Iaphetes/Bevy-glTF-Extended-Loader
max_upload_size
id1280309
size1,169,521
Iaphetes (Iaphetes)

documentation

README

Bevy GLTF Extended Loader (BGEL)

What does this do?

This tool applies some (at the moment one) Khronos glTF Extensions to the relevant materials.

Here is a list of the currently supported extensions. Feel free to ask for more or even open a pull request, if you have some implementation:

  • KHR_materials_emissive_strength

Usage

  • Add the GLTFExtender plugin
  • Add a meta file to your gltf, which includes includes the include_sources: true, flag (see material_test.glb.meta)
  • For every added gltf do the following:
  let my_gltf = assets.load("material_test.glb");
  commands.spawn(SpawnAsset { handle: my_gltf });

Examples

Emissive Example

cargo run --example emissive_example

Shows an emissive example with massive bloom. Without bloom With bloom

Changes

0.1.0 Initial release

Features

  • Simple support for KHR_materials_emissive_strength
    • Multiplies the emissive strength of the material by this value

0.1.1

Changes

  • The library is now internally also called bgel
  • Fixed usage section in readme

0.1.2

Fixes

  • Complex models wouldn't be extended, since they take too long to load. Now only after the asset has been found, the request for modification is deleted.
Commit count: 7

cargo fmt