bevy/crates/bevy_gltf
François d90d19f1c7 gltf: load normal and occlusion as linear textures (#1762)
Load textures from gltf as linear when needed.

This is for #1632, but can be done independently and won't have any visible impact before.

* during iteration over materials, register textures that need to be loaded as linear
* during iteration over textures
  * directly load bytes from external files instead of adding them as dependencies in the load context
  * configure the texture the same way for buffered and external textures
  * if the texture is linear rgb, set as linear rgb
2021-03-26 18:47:47 +00:00
..
src gltf: load normal and occlusion as linear textures (#1762) 2021-03-26 18:47:47 +00:00
Cargo.toml Glb textures should use bevy_render to load images (#1454) 2021-03-03 21:36:16 +00:00