summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/custom_shader/src/scene/pipeline.rs14
-rw-r--r--examples/custom_shader/textures/ice_cube_normal_map.png (renamed from examples/custom_shader/src/textures/ice_cube_normal_map.png)bin1773656 -> 1773656 bytes
-rw-r--r--examples/custom_shader/textures/skybox/neg_x.jpg (renamed from examples/custom_shader/src/textures/skybox/neg_x.jpg)bin7549 -> 7549 bytes
-rw-r--r--examples/custom_shader/textures/skybox/neg_y.jpg (renamed from examples/custom_shader/src/textures/skybox/neg_y.jpg)bin2722 -> 2722 bytes
-rw-r--r--examples/custom_shader/textures/skybox/neg_z.jpg (renamed from examples/custom_shader/src/textures/skybox/neg_z.jpg)bin3986 -> 3986 bytes
-rw-r--r--examples/custom_shader/textures/skybox/pos_x.jpg (renamed from examples/custom_shader/src/textures/skybox/pos_x.jpg)bin5522 -> 5522 bytes
-rw-r--r--examples/custom_shader/textures/skybox/pos_y.jpg (renamed from examples/custom_shader/src/textures/skybox/pos_y.jpg)bin3382 -> 3382 bytes
-rw-r--r--examples/custom_shader/textures/skybox/pos_z.jpg (renamed from examples/custom_shader/src/textures/skybox/pos_z.jpg)bin5205 -> 5205 bytes
8 files changed, 7 insertions, 7 deletions
diff --git a/examples/custom_shader/src/scene/pipeline.rs b/examples/custom_shader/src/scene/pipeline.rs
index 0967e139..3956c12e 100644
--- a/examples/custom_shader/src/scene/pipeline.rs
+++ b/examples/custom_shader/src/scene/pipeline.rs
@@ -582,12 +582,12 @@ impl DepthPipeline {
}
fn load_skybox_data() -> Vec<u8> {
- let pos_x: &[u8] = include_bytes!("../textures/skybox/pos_x.jpg");
- let neg_x: &[u8] = include_bytes!("../textures/skybox/neg_x.jpg");
- let pos_y: &[u8] = include_bytes!("../textures/skybox/pos_y.jpg");
- let neg_y: &[u8] = include_bytes!("../textures/skybox/neg_y.jpg");
- let pos_z: &[u8] = include_bytes!("../textures/skybox/pos_z.jpg");
- let neg_z: &[u8] = include_bytes!("../textures/skybox/neg_z.jpg");
+ let pos_x: &[u8] = include_bytes!("../../textures/skybox/pos_x.jpg");
+ let neg_x: &[u8] = include_bytes!("../../textures/skybox/neg_x.jpg");
+ let pos_y: &[u8] = include_bytes!("../../textures/skybox/pos_y.jpg");
+ let neg_y: &[u8] = include_bytes!("../../textures/skybox/neg_y.jpg");
+ let pos_z: &[u8] = include_bytes!("../../textures/skybox/pos_z.jpg");
+ let neg_z: &[u8] = include_bytes!("../../textures/skybox/neg_z.jpg");
let data: [&[u8]; 6] = [pos_x, neg_x, pos_y, neg_y, pos_z, neg_z];
@@ -606,7 +606,7 @@ fn load_skybox_data() -> Vec<u8> {
}
fn load_normal_map_data() -> Vec<u8> {
- let bytes: &[u8] = include_bytes!("../textures/ice_cube_normal_map.png");
+ let bytes: &[u8] = include_bytes!("../../textures/ice_cube_normal_map.png");
image::load_from_memory_with_format(bytes, image::ImageFormat::Png)
.unwrap()
diff --git a/examples/custom_shader/src/textures/ice_cube_normal_map.png b/examples/custom_shader/textures/ice_cube_normal_map.png
index 7b4b7228..7b4b7228 100644
--- a/examples/custom_shader/src/textures/ice_cube_normal_map.png
+++ b/examples/custom_shader/textures/ice_cube_normal_map.png
Binary files differ
diff --git a/examples/custom_shader/src/textures/skybox/neg_x.jpg b/examples/custom_shader/textures/skybox/neg_x.jpg
index 00cc783d..00cc783d 100644
--- a/examples/custom_shader/src/textures/skybox/neg_x.jpg
+++ b/examples/custom_shader/textures/skybox/neg_x.jpg
Binary files differ
diff --git a/examples/custom_shader/src/textures/skybox/neg_y.jpg b/examples/custom_shader/textures/skybox/neg_y.jpg
index 548f6445..548f6445 100644
--- a/examples/custom_shader/src/textures/skybox/neg_y.jpg
+++ b/examples/custom_shader/textures/skybox/neg_y.jpg
Binary files differ
diff --git a/examples/custom_shader/src/textures/skybox/neg_z.jpg b/examples/custom_shader/textures/skybox/neg_z.jpg
index 5698512e..5698512e 100644
--- a/examples/custom_shader/src/textures/skybox/neg_z.jpg
+++ b/examples/custom_shader/textures/skybox/neg_z.jpg
Binary files differ
diff --git a/examples/custom_shader/src/textures/skybox/pos_x.jpg b/examples/custom_shader/textures/skybox/pos_x.jpg
index dddecba7..dddecba7 100644
--- a/examples/custom_shader/src/textures/skybox/pos_x.jpg
+++ b/examples/custom_shader/textures/skybox/pos_x.jpg
Binary files differ
diff --git a/examples/custom_shader/src/textures/skybox/pos_y.jpg b/examples/custom_shader/textures/skybox/pos_y.jpg
index 361427fd..361427fd 100644
--- a/examples/custom_shader/src/textures/skybox/pos_y.jpg
+++ b/examples/custom_shader/textures/skybox/pos_y.jpg
Binary files differ
diff --git a/examples/custom_shader/src/textures/skybox/pos_z.jpg b/examples/custom_shader/textures/skybox/pos_z.jpg
index 0085a49e..0085a49e 100644
--- a/examples/custom_shader/src/textures/skybox/pos_z.jpg
+++ b/examples/custom_shader/textures/skybox/pos_z.jpg
Binary files differ