Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Suggestion AnyMaterial.toShaderMaterial() #15537
I've been experimenting with removing all the "built in" materials from
I made a rough experiment that can be seen here, it seems to be working fine with all of the properties i tested, but i haven't looked into skinning and morphing.
The jist of it is:
Imagine if we could call
It seems to me that this sort of happens inside the
I'm curious about any thoughts on this. I want to explore this more and am hoping to get someone else interested as well. I'd also like to understand more about the historic design of three, what possible pitfalls could be encountered when removing lamberts, phongs and such from the renderer?
Well, you might be interested in taking a look at this then https://github.com/pailhead/three-refactor-chunk-material.
Some of the materials listed there are hooked up already (i think) as you describe @donmccurdy . I think i verified that only the