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

Add support for KHR_materials_emissive_strength #9553

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

JMS55
Copy link
Contributor

@JMS55 JMS55 commented Aug 23, 2023

Objective

Solution


Changelog

  • GLTF files using emissiveStrength (such as those exported by blender) are now supported

Migration Guide

  • The GLTF asset loader will now factor in emissiveStrength when converting to Bevy's StandardMaterial::emissive. Blender will export emissive materials using this field. Remove the field from your GLTF files or manually modify your materials post-asset-load to match how Bevy would load these files in previous versions.

@JMS55 JMS55 added this to the 0.12 milestone Aug 23, 2023
@JMS55 JMS55 added A-Rendering Drawing game state to the screen A-Assets Load files from disk to use for things like images, models, and sounds and removed A-Rendering Drawing game state to the screen labels Aug 23, 2023
@mockersf
Copy link
Member

tested on https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/EmissiveStrengthTest

with main:
emissive-main

with this PR:
emissive-9553

@superdump superdump added this pull request to the merge queue Aug 24, 2023
Merged via the queue into bevyengine:main with commit 228e7aa Aug 24, 2023
23 of 24 checks passed
@cart cart mentioned this pull request Oct 13, 2023
43 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Assets Load files from disk to use for things like images, models, and sounds
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants