⚡️WebGPU Glass Material Update
@Andersonmancini16K followers
17,480 views #threjs
23 Comments
Comments from the original post on X (Twitter)

@Andersonmancini
Here are some still shots This new #threejs glass material was only possible thanks to the incredible work of @0xca0a , @N8Programs , and many other contributors at @pmndrs who brought Mesh Transmission Material to life. My work focuses on adapting it to TSL (Threejs Shading Language), so it becomes fully compatible with WebGPU. You can check the credits section to learn more about the process. This will likely become part of the upcoming React Three Fiber v10 and the new Drei WebGPU-compatible release. I’m still refining the source code, and I’ll make it available soon. A vanilla three.js version will follow right after. Stay tuned 🤗
21 likes

@Andersonmancini
In case you reached this far, this is what it looks like in production when paired with caustics 😍. All rendered in real time.
14 likes

@Andersonmancini
This is a comparison between WebGPU Glass Material and Default Mesh Physical Material. Because it can see through the glass, it adds more depth to every glass object.
8 likes

@Andersonmancini
More stills
3 likes

@jamesckane
If only we could combine demos @Andersonmancini! This is exactly the look I want for the gel sim I would create an entire game around carving up jello if we could do this in real-time 😅
2 likes

@Andersonmancini
Man, I think we can hehe. That would be amazing 🤩. I'm swamped with work at this moment, but I would love to work together and build this with you later this year ☺️
1 like

@jamesckane
Haven't been able to raymarch the particle-based sim efficiently enough each frame to render anything that looks like a solid yet Some story could make the bead visual make sense ("it's a Dip-n-Dots-like synthetic hyperfuel", etc.) ... but if we can make jello, let's make jello!
1 like

@Andersonmancini
This is my eternal reference 😍
2 likes

@Vuthric
@jamesckane Interesting.. Your gelatinous cube is on my reference board too🟩
3 likes

@Andersonmancini
@jamesckane HOW? Hahaha. Man, your results are the best I've ever seen in a game concept. I can't wait to play it, hehe. It is a huge honor to know that you have seen my work, buddy. Congratulations on your fantastic work.
2 likes

@dezea_digital
This is what we've been waiting for! 🚀
2 likes

@Andersonmancini
Thanks hehe. This will change game for glass materials completely ☺️
3 likes

@cljwebdev
Amazing Anderson! First one looks like a toy you would get in the 90s or something.
1 like

@Andersonmancini
Thank you very much, Chris! How is the performance for you? Especially the Shader Ball example? Thanks 🙏🏻☺️
1 like

@zekailin00
Recursive transmission is one of those details that completely changes the feel of a scene. Really nice work.
1 like

@aiseomastery
Recursive transmission on glass refracting other glass is such a small detail that adds a lot.
1 like

@Andersonmancini
Thanks buddy. Yes. It is the type of thing that nobody cares, until you try to make a company's fragrances website with a bunch of glass elements hehe.
1 like

@aiseomastery
Ha, exactly the kind of detail that only matters until it's missing.
1 like

@GigazerDev
Amazing!
1 like

@theNthAdam
This is great 🙂 I love that gelatinous cubes made it into both Onward and Dungeons & Dragons: Honor Among Thieves. All of these demos are just sublime. 🤌
1 like
