跳过导航
Following ☄︎ work, I'm experimenting with some react three fiber with #threejs webGPU.
0:00 / 1:41

Following ☄︎ work, I'm experimenting with some react three fiber with #threejs webGPU.

Anderson Mancini

@Andersonmancini1.5万 位关注者

在 X 上查看
429 个赞下载原帖

26,829 次观看 #threejs #r3f

Following ☄︎ work, I'm experimenting with some react three fiber with #threejs webGPU. We no longer need an EffectComposer to use post-processing effects in #r3f. Now, everything is done by composing TSL nodes. I created a small component that helps in rendering post-processing effects. All you need to do is import the effects you want and add them to the final composition. I will share the link to the demo and source code on Monday 😍. Another thing I want to highlight is how amazing the Screen Space Reflection effect is. It generates reflections not only on the ground, as we had before in r3f in webgl. It is able to calculate the reflections between the meshes. Look how beautiful the reflection of the lightsaber on Darth Vader's mask is. This is not something that is easy to calculate and this is exactly where WebGPU in threejs shines! Congratulations to everyone on the threejs team. I am increasingly impressed with WebGPU and TSL.

12 条评论

评论来自 X (Twitter) 上的原帖

  • Anderson Mancini 的头像

    @Andersonmancini

    Here is a GIST of my WebGPUPostProcessing component, in case you need it.

    28 个赞

  • Anima 的头像

    @AnimaApp

    📢It is live! @figma design to @MUI_hq or @AntDesignUI "Whether your design is well organized or a bit chaotic, using standard components or none, Anima takes it all and translates it into high-quality #MUI or #AntDesign code."-->

    1,061 个赞

  • Anderson Mancini 的头像

    @Andersonmancini

    Some stills 📸

    5 个赞

  • Aaron Grider 的头像

    @aarongrider

    @0xca0a Was literally planning on messing with R3F + post processing tonight! This saves a ton of time!

    4 个赞

  • The Ebenezer 的头像

    @th_ebenezer

    @0xca0a This looks great, Anderson!! Looking forward to learning more about this technique. Do you think that it will have the same benefits in terms of performance as the pmndrs postprocessing library?

    3 个赞

  • Anderson Mancini 的头像

    @Andersonmancini

    Thanks mate! It is much, much better. The performance is outrageously good. Being able to have access to the depth of the scene, for example, within one single pass, is something that would never be possible without WebGPU, not to mention a bunch of other things like Backdrop, etc. It is a completely different way to interact with 3D scenes like never before. The TSL composition possibilities are almost endless.

    7 个赞

  • David McBacon | Bachoff Studio 🟧 的头像

    @DavidMcBacon

    @0xca0a wow .. are threejs webgpu and tsl nodes a new thing? Haven’t heard about them yet.

    3 个赞

  • Anderson Mancini 的头像

    @Andersonmancini

    @0xca0a Yes hehe. This is the new theeejs version optimized for webgpu api. You can. Read more about it here:

    4 个赞

  • Nestor Rios Garcia 的头像

    @nestorrig

    @0xca0a Amazing Anderson ❤️

    2 个赞

  • Sylwester Mielniczuk 🔮💎 的头像

    @sylwestermiel

    @0xca0a we do not need react to be always in a weird way mentioned at the front of our beloved webgl/webgpu library ThreeJS #threejs

    2 个赞

  • Esteban 的头像

    @estebanbasili

    @0xca0a This is amazing man! I'm watching this on a loop and discover a new beautiful detail every time.

    2 个赞

  • Anderson Mancini 的头像

    @Andersonmancini

    @0xca0a Thank you my friend. I hope you like end result 🤗