kitgit

tirbofish/dropbear · diff

67dbcbe · Thribhu K

feature: skybox fix: lighting todo: allow for customisable skyboxes (user defined).

Unverified

diff --git a/Cargo.toml b/Cargo.toml
index 4aa4d1e..aed3628 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -83,9 +83,9 @@ combine = "4.6"
 glyphon = { git = "https://github.com/grovesNL/glyphon", rev = "9dd9376" }
 
 [workspace.dependencies.image]
-version = "0.25"
+version = "0.24"
 default-features = false
-features = ["png"]
+features = ["png", "jpeg", "hdr"]
 
 [profile.dev]
 opt-level = 1
diff --git a/crates/dropbear-engine/Cargo.toml b/crates/dropbear-engine/Cargo.toml
index bce2147..b972591 100644
--- a/crates/dropbear-engine/Cargo.toml
+++ b/crates/dropbear-engine/Cargo.toml
@@ -44,16 +44,12 @@ dashmap.workspace = true
 typetag.workspace = true
 postcard.workspace = true
 pollster.workspace = true
+image.workspace = true
 #yakui-wgpu.workspace = true
 #yakui.workspace = true
 
 [target.'cfg(not(target_os = "android"))'.dependencies]
 rfd.workspace = true
 
-[dependencies.image]
-version = "0.25"
-default-features = false
-features = ["png", "jpeg"]
-
 [build-dependencies]
 slank = { path = "../slank", features = ["download-slang"] }
\ No newline at end of file
diff --git a/crates/dropbear-engine/build.rs b/crates/dropbear-engine/build.rs
index 7f01aa4..d495733 100644
--- a/crates/dropbear-engine/build.rs
+++ b/crates/dropbear-engine/build.rs
@@ -5,15 +5,12 @@ fn main() {
     // let shader = Shader::from_slang(graphics.clone(), &slank::compiled::CompiledSlangShader::from_bytes("light cube", include_slang!("light_cube")));
 
     SlangShaderBuilder::new("light_cube")
-        .add_source_path("src/pipelines/shaders/light.slang").unwrap()
+        .add_source_path("src/shaders/light.slang").unwrap()
         .compile_to_out_dir(SlangTarget::SpirV).unwrap();

Large diffs are not rendered by default. Showing the first 50 of 2166 lines. Show full diff