diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-09 03:01:52 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-09 03:01:52 +0100 |
commit | c80016a9ef91da2362d6874c130941efcf36ac00 (patch) | |
tree | 715481f2b15fbcbaa13fd09d56064a4265faa9dd /world/src/mesh.rs | |
parent | 524f5d27020ca63d21cd5eca1120a1c71443e240 (diff) | |
download | weareserver-c80016a9ef91da2362d6874c130941efcf36ac00.tar weareserver-c80016a9ef91da2362d6874c130941efcf36ac00.tar.bz2 weareserver-c80016a9ef91da2362d6874c130941efcf36ac00.tar.zst |
add more gltf extensions
Diffstat (limited to 'world/src/mesh.rs')
-rw-r--r-- | world/src/mesh.rs | 13 |
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(&[ |