filament icon indicating copy to clipboard operation
filament copied to clipboard

IOR is not compatible with sheen material

Open JackKaiXing opened this issue 8 months ago • 2 comments

https://github.com/google/filament/blob/main/libs/gltfio/materials/sheen.spec.in

The above code says IOR is unsupported. Is it possible to support IOR with sheen?

JackKaiXing avatar Apr 21 '25 03:04 JackKaiXing

Can you provide a sample gltf file that tries to use both?

pixelflinger avatar Apr 22 '25 05:04 pixelflinger

You can support IOR with sheen when using the glTF backend that generates materials dynamically. Ubershaders don't support it at the moment (due to limitations on the number of samplers).

romainguy avatar Apr 22 '25 15:04 romainguy