Closed benzsuankularb closed 1 year ago
I see, it's unfortunately not so easy to address as SSGI converts the three.js materials to its own format (called "MRTMaterial") to render out all the important data like diffuse, normals, emissive, alpha and so on. I'd have to check how three.js handles that and how multi-materials generally work as I don't use them often to find an idea on how to implement it in SSGI.
Since the realism effect itself doesn't require MeshStandardMaterial. I think this should be close seems it's a bit out of scope.
While the GLTFLoader always guaranteed only single material per mesh.
Multiple materials per mesh are natively supported by three.js.
It'd be nice if we cloud add this support. :)