Skip navigation
webgi - realistic rendering for three.js is now free!
0:00 / 1:07

webgi - realistic rendering for three.js is now free!

Palash Bansal

@repalash3.3K followers

Visit on X
814 likesDownloadOriginal post

45,281 views

webgi - realistic rendering for three.js is now free! With a new website for developers. Instantly create photo-realistic 3D e-commerce experiences without going deep into three.js graphics and shaders. Play around with the demo docs here -

26 Comments

Comments from the original post on X (Twitter)

  • Three.js Resources's profile picture

    @threejsresource

    pls submit this

    4 likes

  • PaRoxUs's profile picture

    @PaRoxUs

    Wow, very impressive, does it work well with R3F?

    4 likes

  • Palash Bansal's profile picture

    @repalash

    It can be used directly in React projects without r3f boilerplate. It's based on threepipe which includes all the primitives and post-processing that r3f/drei provides. To use it declaratively in React with r3f it's possible by passing a custom scene and renderer. Will soon release a component for r3f for that.

    1 like

  • PaRoxUs's profile picture

    @PaRoxUs

    Thank you for your answer. looking forward to that, great work man. Have you checked out React Native WebGPU? Still a bit early in the process but I guess your plugin could work with that too?

    1 like

  • Palash Bansal's profile picture

    @repalash

    The effects are designed for WebGL renderer right now. WebGPU renderer support will take some time till everything gets stable, probably with node materials.

    1 like

  • PaRoxUs's profile picture

    @PaRoxUs

    Okay, I get it. Have you tried your plugin with expo-gl?

  • Palash Bansal's profile picture

    @repalash

    Not yet, if threejs or r3f work with custom shaders. There are tons of WebGL and browser based APIs that are used in some post processing plugins though, any idea if expo-gl support all of webgl2?

  • PaRoxUs's profile picture

    @PaRoxUs

    I checked out and it says: The following WebGL2RenderingContext methods are currently unimplemented: getFramebufferAttachmentParameter() getRenderbufferParameter() compressedTexImage2D() compressedTexSubImage2D() getTexParameter() getUniform() getVertexAttrib() getVertexAttribOffset() getBufferSubData() getInternalformatParameter() renderbufferStorageMultisample() compressedTexImage3D() compressedTexSubImage3D() fenceSync() isSync() deleteSync() clientWaitSync() waitSync() getSyncParameter() getActiveUniformBlockParameter(), I guess the rest should work.

  • Palash Bansal's profile picture

    @repalash

    Thanks, might require some testing, feel free to open a feature request or issues if you are interested in using it.

    1 like

  • Rizki's profile picture

    @donny_rps

    This crazy... Haven't tounch @threejs for months i have no clue it can create something like this

    3 likes

  • satyam kumar's profile picture

    @satyamk02925240

    Thats awesome but is there any way to preview my model on website or on the canvas part so that i can apply those position settings in scroll trigger

    1 like

  • Palash Bansal's profile picture

    @repalash

    You can drag and drop the model in the editor and check the position under camera in the inspector on right. But to create scrollable websites, the best way would be to create and bake an animation in blender and sync that with scroll on your website. Here is an example for that -

    1 like

  • Chris's profile picture

    @burnerDevAcct

    very cool!

    1 like

  • webduno's profile picture

    @webduno

    @alightinastorm

    1 like

  • Sabo Sugi / Mondragon Framer Template's profile picture

    @sabosugi

    Wow! Super quality.

    1 like

  • Viraj's profile picture

    @tunedgradient

    very cool. webgi might become the default entrypoint for 3D on the web. curious if PBR materials / custom shaders can be injected on top of the pipeline?

    1 like

  • Palash Bansal's profile picture

    @repalash

    Yes PBR materials are supported out of the box. For custom shaders and materials, it includes a complete material extension system where you can subscribe to hooks, edit shaders, attach additional UI etc. Check out the docs

    1 like

  • awesome_visuals's profile picture

    @awesome_visuals

    very impressive!

    1 like

  • Hari Abinash 🇮🇳's profile picture

    @hariabinash

    What you did here is...

  • Nishit Barbhaya's profile picture

    @Nishit_369

    🔥🔥