Iridescence support in Blender Viewport

Using this model here (glTF-Sample-Models/2.0/IridescenceLamp at main 路 KhronosGroup/glTF-Sample-Models 路 GitHub), with DropListener in a build of Needle the IOR pulls in fine, if I bring it into Blender, Blender loses the IOR and displays the model a lot differently, see screenshots below but is this something the Needle Blender Plugin can help with? Screenshot attached is the original model from above as .glb loaded with DropListener

Original Post on Discord

by user 103054507105067008

Loaded into Blender

by user 103054507105067008

Re-exported from Blender as-is as .glb and loaded into DropListener in Needle

by user 103054507105067008

If the material is already wrong in blender it will not look correct in runtime

Blender doesn鈥檛 seem to be able to export KHR_materials_iridescence

by user 103054507105067008

Maybe you can ask/open an issue for the IO here: Issues 路 KhronosGroup/glTF-Blender-IO 路 GitHub

Already seen that Iridescence is being worked on here https://developer.blender.org/T99447

by user 103054507105067008

Just trying to figure out what鈥檚 up with Volume not exporting

by user 103054507105067008

Raised the issue here to track, makes Blender unusable for editing those kinds of models using Volume and iridescence Volume and Iridescence GLTF/GLB from glTF-Sample-Models do not display or import/export correctly 路 Issue #1838 路 KhronosGroup/glTF-Blender-IO 路 GitHub

by user 103054507105067008

Some workarounds needed but I have a fix within Blender Volume and Iridescence GLTF/GLB from glTF-Sample-Models do not display or import/export correctly 路 Issue #1838 路 KhronosGroup/glTF-Blender-IO 路 GitHub

by user 103054507105067008

Yeah, I believe there鈥檚 a number of extensions where Blender-IO is not there yet and I pushed ahead for support in UnityGltf

There鈥檚 a big refactor upcoming in Blender that aligns the material model closer to glTF (part of T99447 that you referenced above)

Worth noting that almost everyone edits those kinds of models by hand, I found that kind of hilarious so added support in UnityGltf.

Changed the channel name: Irdidescence support in Blender

I am making note to use VS-Code GLTF tools to modify materials that I simply can鈥檛 preview in Blender on that basis :sweat_smile: really hoping for Blender to get up to spec soon, I鈥檓 moving the 3D team across to using Blender mainly for PBR/GLTF so it鈥檚 a shame they are so behind in some areas. Is a pain they can鈥檛 preview some of the material properties in the Blender viewport

by user 103054507105067008

Changed the channel name: Iridescence support in Blender Viewport

by user 103054507105067008

Actually Blender is one of the most advanced glTF softwares - just so happens that we鈥檝e been spearheading in a few areas with UnityGltf, so that is (in my opinion) just more advanced and Blender is pretty good as well :smile:

Credit where it is due, UnityGLTF is fantastic :heart_eyes:

by user 103054507105067008

@herbst馃尩 I have an example GLTF file using Reflective/thickness/specular reflection values that doesn鈥檛 display correct in Unity with UnityGLTF, then doesn鈥檛 export correctly with Needle using UnityGLTF but renders fine using DropListener in Needle. I will DM you it

by user 103054507105067008

That sounds like a UnityGLTF roundtrip issue then. Thanks