You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1a9c676 added material support to the palette (palette::Palette) - formats like gltf should now also export (and maybe even import if possible) these values into the palette::Material structure.
New Unified Material System[06/30/2020]
Blend Material: weighted blending Metal/Plastic/Glass/Cloud materials (similar to Disney Principled BRDF).
SSS Material: sub-surface scattering. transparency tp control light transmission. density to control light scattering.
Aborb/Scatter/Emissive Media Material: emissive cloud. can be contained in the glass with ior > 1.
Improved Alpha Blending: glass material, absorb media type, density = 0, ior = 0, transparency > 0
The text was updated successfully, but these errors were encountered:
…magicavoxel interactions
In order to support the new palette material features that are modelled after magicavoxel (see
1a9c676) we have to use some extensions to the gltf spec.
* KHR_materials_emissive_strength
* KHR_materials_ior
* KHR_materials_pbrSpecularGlossiness
* KHR_materials_specular
there are also some new cvars that will control the gltf export extensions - when loading a
model, we will try to load as many extensions as useful automatically. But for saving the
user might have to choose between several options. Some of them can not be used together.
see issue #402
two new cvars were added: voxformat_gltf_khr_materials_pbrspecularglossiness and voxformat_gltf_khr_materials_specular. They control which extension you want to use to save the specular material values in the gltf file. Where will at least be one other cvar to control whether you want to export materials at all.
1a9c676 added material support to the palette (
palette::Palette
) - formats like gltf should now also export (and maybe even import if possible) these values into thepalette::Material
structure.This property is not yet handled, too: jpaver/opengametools#64
The test file was kindly provided by AbductedbyPixel and is available at
data/tests/test_material.vox
Links
TODO
palette::Material
propertiesMaterial mappings
This table is here to understand and map the mv material settings from ogt_vox to gltf
https://docs.google.com/spreadsheets/d/14cHbGMr7U-_N9mNNSdnb4XkuqvnvkcgCD9IKz_kglfg/edit#gid=2116874397
From MV changelog:
The text was updated successfully, but these errors were encountered: