Open mgerhardy opened 9 months ago
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.
1a9c6763fd9e7f87b080da31dbc1e682e59773a6 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: https://github.com/jpaver/opengametools/issues/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: