summaryrefslogtreecommitdiff
path: root/world/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-09 03:01:52 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-09 03:01:52 +0100
commitc80016a9ef91da2362d6874c130941efcf36ac00 (patch)
tree715481f2b15fbcbaa13fd09d56064a4265faa9dd /world/src
parent524f5d27020ca63d21cd5eca1120a1c71443e240 (diff)
downloadweareserver-c80016a9ef91da2362d6874c130941efcf36ac00.tar
weareserver-c80016a9ef91da2362d6874c130941efcf36ac00.tar.bz2
weareserver-c80016a9ef91da2362d6874c130941efcf36ac00.tar.zst
add more gltf extensions
Diffstat (limited to 'world/src')
-rw-r--r--world/src/mesh.rs13
1 files changed, 10 insertions, 3 deletions
diff --git a/world/src/mesh.rs b/world/src/mesh.rs
index 3190c28..216f8f3 100644
--- a/world/src/mesh.rs
+++ b/world/src/mesh.rs
@@ -283,10 +283,17 @@ pub fn import_mesh(
tex_emission,
tex_transmission,
index,
+ // not yet implemented
+ g_attenuation: None,
+ g_dispersion: None,
+ g_refractive_index: None,
+ g_thickness: None,
+ tex_thickness: None,
+ // not supported by gltf
va_transmission: None,
- va_emission: None, // not supported by gltf
- va_metallic: None, // not supported by gltf
- va_roughness: None, // not supported by gltf
+ va_emission: None,
+ va_metallic: None,
+ va_roughness: None,
})?;
let mat = node.transform().matrix();
let aff = Affine3A::from_cols_array_2d(&[