Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - bevy_gltf: Add support for loading lights #3506

Closed
wants to merge 3 commits into from

Commits on Jan 1, 2022

  1. bevy_gltf: Add support for loading lights

    This adds support for the KHR_punctual_lights extension which supports point,
    directional, and spot lights, though we don't yet support spot lights.
    
    Inserting light bundles when creating scenes required registering some more
    light bundle component types.
    superdump committed Jan 1, 2022
    Configuration menu
    Copy the full SHA
    3094119 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    752f32d View commit details
    Browse the repository at this point in the history
  3. bevy_gltf: Set light radius to 0

    Radius is the size of the inside of the light and defaults to 0 in bevy. It is unspecified in gltf.
    
    Co-authored-by: François <mockersf@gmail.com>
    superdump and mockersf committed Jan 1, 2022
    Configuration menu
    Copy the full SHA
    5d093e5 View commit details
    Browse the repository at this point in the history