 85b7589388
			
		
	
	
		85b7589388
		
	
	
	
	
		
			
			# Objective - Add support for loading lights from glTF 2.0 files ## Solution - 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.
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
| [package]
 | |
| name = "bevy_gltf"
 | |
| version = "0.5.0"
 | |
| edition = "2021"
 | |
| description = "Bevy Engine GLTF loading"
 | |
| homepage = "https://bevyengine.org"
 | |
| repository = "https://github.com/bevyengine/bevy"
 | |
| license = "MIT OR Apache-2.0"
 | |
| keywords = ["bevy"]
 | |
| 
 | |
| [dependencies]
 | |
| # bevy
 | |
| bevy_app = { path = "../bevy_app", version = "0.5.0" }
 | |
| bevy_asset = { path = "../bevy_asset", version = "0.5.0" }
 | |
| bevy_core = { path = "../bevy_core", version = "0.5.0" }
 | |
| bevy_ecs = { path = "../bevy_ecs", version = "0.5.0" }
 | |
| bevy_pbr = { path = "../bevy_pbr", version = "0.5.0" }
 | |
| bevy_reflect = { path = "../bevy_reflect", version = "0.5.0", features = ["bevy"] }
 | |
| bevy_render = { path = "../bevy_render", version = "0.5.0" }
 | |
| bevy_transform = { path = "../bevy_transform", version = "0.5.0" }
 | |
| bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
 | |
| bevy_math = { path = "../bevy_math", version = "0.5.0" }
 | |
| bevy_scene = { path = "../bevy_scene", version = "0.5.0" }
 | |
| bevy_log = { path = "../bevy_log", version = "0.5.0" }
 | |
| 
 | |
| # other
 | |
| gltf = { version = "0.16.0", default-features = false, features = [
 | |
|     "KHR_lights_punctual",
 | |
|     "KHR_materials_unlit",
 | |
|     "names",
 | |
|     "utils",
 | |
| ] }
 | |
| thiserror = "1.0"
 | |
| anyhow = "1.0.4"
 | |
| base64 = "0.13.0"
 | |
| percent-encoding = "2.1"
 |