google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.7k stars 1.87k forks source link

Support KHR_materials_volume #7784

Closed Nolram12345 closed 5 months ago

Nolram12345 commented 5 months ago

The KHR_materials_volume GLTF extension allows for GLTF files to contain material data with information about volume thickness, refraction, and absorption.

Filament already supports all the required material features, but GLTFIO (and by extension the filament samples) don't currently support loading files with this GLTF extension.

image

romainguy commented 5 months ago

KHR_materials_volume is supported. See https://github.com/google/filament/pull/4291

Nolram12345 commented 5 months ago

Oh apologies! It seems that the exporter I was using didn't correctly pack the data.