-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
A-AssetsLoad files from disk to use for things like images, models, and soundsLoad files from disk to use for things like images, models, and soundsA-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior
Description
Bevy version
0.9.1
What you did
Loaded a glTF scene
use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_startup_system(load_scene)
.run()
}
fn load_scene(mut commands: Commands, assets: Res<AssetServer>) {
commands.spawn(SceneBundle {
scene: assets.load("repro.gltf#Scene0"),
..Default::default()
});
}What went wrong
The colors of all of the models were different than they were in Blender:
Additional information
Bevy's glTF loader interprets colors in the sRGB color space, which is incorrect - glTF mandates that colors be specified in linear color space.
Initially I assumed that Bevy was correct and Blender was at fault, but this was disproved shortly after I reported it as a bug in Blender.
Metadata
Metadata
Assignees
Labels
A-AssetsLoad files from disk to use for things like images, models, and soundsLoad files from disk to use for things like images, models, and soundsA-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior





