How to Make a 3D Glass Effect using Three.js and Next.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • A website tutorial on how to create a Glass looking Material with distortion by using the MeshTransmissionMaterial with Three.js, React, React Three Fiber and Next.js.
    Source Code / Live demo:
    blog.olivierlarose.com/tutori...
    00:00 Intro
    00:19 Asset Preparation
    3:01 Rendering the Canvas
    5:16 Rendering the mesh
    6:47 Adding lights
    8:25 Adding responsiveness
    8:49 Rotating the mesh
    9:33 Adding the text
    11:14 Adding the Transmission Material
    13:30 Outro
    More animations: blog.olivierlarose.com/
    Follow me on Twitter: / olivierlarose_
    Discord Channel: / discord
    Thanks for watching!
    #react #nextjs #awwwards #gsap #framer #motion

ความคิดเห็น • 81

  • @KristianTheDesigner
    @KristianTheDesigner 29 วันที่ผ่านมา +1

    THANK YOU for using Blender, and not Spline! What can i say? great video once again Olivier. Never dissapoints, always valuable tips and tricks. Class A for sure.

  • @joshreynolds4164
    @joshreynolds4164 4 หลายเดือนก่อน

    So appreciate to have such great content in this space. Looking forward to your course man!

  • @LucasGuillemette
    @LucasGuillemette 4 หลายเดือนก่อน

    Beautiful work man. I checked out your website and blog. Love your work!

  • @rockylikespocky
    @rockylikespocky 4 หลายเดือนก่อน

    Great tutorial as usual!

  • @HenryBabbage
    @HenryBabbage 4 หลายเดือนก่อน

    So great to have this intro to ThreeJS/drei. Would love to see more on this subject of 3D effects / particle animations etc

  • @Way_Of_The_Light
    @Way_Of_The_Light 4 หลายเดือนก่อน

    Amazing tutorial as always 🤩

  • @quebuena111
    @quebuena111 10 วันที่ผ่านมา

    Thank you very much for this!

  • @NYProductions
    @NYProductions 4 หลายเดือนก่อน

    Great Tutorial. Thanks. Subscribed.

  • @aminebouzaid5971
    @aminebouzaid5971 4 หลายเดือนก่อน

    Amazing man , thank you ❤️🎉

  • @user-dn4lr7fl2m
    @user-dn4lr7fl2m 4 หลายเดือนก่อน +3

    You share so much more than is required in your videos, providing excellent context - thank you so much Olivier

  • @kohta3826
    @kohta3826 4 หลายเดือนก่อน

    I'm a college student aspiring to become an engineer in Japan and I'm always able to catch up on the great content on your blog and youtube! I will continue to support you!

  • @marcelsdev
    @marcelsdev 2 หลายเดือนก่อน

    Thanks for this, and well done on creating such awesome content! I've recently jumped back in Blender doing some designs and animations for a Next.js website of a start-up, and one of the ideas was to replace a video file with Three.js. At the time I had too much to do, but after seeing this I know I can do it in a day or two. Keep it up!

  • @nellymotion
    @nellymotion 4 หลายเดือนก่อน

    Much aprriciated video!

  • @mirjalol49
    @mirjalol49 4 หลายเดือนก่อน +10

    this channel is sick... keep spreading joy

    • @olivierlarose1
      @olivierlarose1  4 หลายเดือนก่อน

      Cheers

    • @gadoosher
      @gadoosher 4 หลายเดือนก่อน

      Wait, did you make Josh's graphics???

    • @mirjalol49
      @mirjalol49 4 หลายเดือนก่อน

      @@gadoosher oh hey, i love Josh as a programmer, so i didnt make it. i am his fan. i got his animated charecter from google and edited in Canva

    • @gadoosher
      @gadoosher 4 หลายเดือนก่อน

      @@mirjalol49 Oh gotcha! His graphics are so dope I was going to geek out haha. Honestly everything he does is so dope. Cheers!

    • @mirjalol49
      @mirjalol49 4 หลายเดือนก่อน

      @@gadoosher yes he is next level person. everything he does is dope as u said

  • @GOPUBLICIDADEstudioCreativo
    @GOPUBLICIDADEstudioCreativo 4 หลายเดือนก่อน

    pff ..this channel is gold..

  • @Yesterday_i_ate_rat
    @Yesterday_i_ate_rat 4 หลายเดือนก่อน

    ❤❤ Thanks for this tutorial

  • @akashkumawatt
    @akashkumawatt 4 หลายเดือนก่อน +1

    Love it ❤🔥

  • @abhinav.sharma
    @abhinav.sharma หลายเดือนก่อน

    BEAUTIFUL!

  • @juanm512
    @juanm512 4 หลายเดือนก่อน

    i love your videos man! Great work!

  • @leiyin5512
    @leiyin5512 4 หลายเดือนก่อน

    i need this, cheers, bro

  • @noahgsolomon
    @noahgsolomon 4 หลายเดือนก่อน

    This is great! As someone who is familiar with R3F and Three.js but not as familiar with R3F dynamics with Next.js I'd love a video on that :)

  • @wallacesilva6087
    @wallacesilva6087 4 หลายเดือนก่อน

    Very good!!

  • @J.E.GTECH-3
    @J.E.GTECH-3 2 หลายเดือนก่อน +1

    loveit men really helps a lot😉

  • @Joerdodd
    @Joerdodd 2 หลายเดือนก่อน

    Thank you! would love a starter tutorial which shows us how you got to the initial state - not sure on how to set this up by myself with the intial folder structures. Amazing stuff though!

  • @spb26
    @spb26 2 หลายเดือนก่อน

    Thank you!

  • @mazwrld
    @mazwrld 4 หลายเดือนก่อน

    BANGER VIDEO

  • @ilmanmanarulqori5632
    @ilmanmanarulqori5632 4 หลายเดือนก่อน

    This is dope 🎉🎉🎉🎉

  • @jason.zubiate
    @jason.zubiate 4 หลายเดือนก่อน

    hey man the content has been fire. do you think you can do a video or two on some preloader screens you like using next and framer motion

  • @mirothedjplaylist
    @mirothedjplaylist 3 หลายเดือนก่อน

    Awesome inwas about to start a similar project. Ty

  • @teflonhav
    @teflonhav 4 หลายเดือนก่อน

    thank you

  • @juicer_777
    @juicer_777 4 หลายเดือนก่อน +3

    Those textures can really make minimalist designs stand out

  • @keyboardbasher5769
    @keyboardbasher5769 2 หลายเดือนก่อน

    youre the goat.

  • @majormajor4636
    @majormajor4636 4 หลายเดือนก่อน

    Great tutorials - keep cooking

  • @CarlWicker
    @CarlWicker 4 หลายเดือนก่อน

    kewl ❤💯

  • @rudrokhan4355
    @rudrokhan4355 4 หลายเดือนก่อน

    Hi! Loved the video. It seems that you forgot to include the demo link in the description. Keep up the great work ❤

    • @olivierlarose1
      @olivierlarose1  4 หลายเดือนก่อน +1

      Thanks for the heads up! I've added it

  • @AdityaRaj-lj5wf
    @AdityaRaj-lj5wf 4 หลายเดือนก่อน

    niceee

  • @abdoillahahdad3575
    @abdoillahahdad3575 4 หลายเดือนก่อน

    nice

  • @arielelias2413
    @arielelias2413 4 หลายเดือนก่อน

    Hiiiii Oliver! Im expecting your Framer Motion course! When it would be able to start???

  • @simple_islam_
    @simple_islam_ 4 หลายเดือนก่อน

    🔥🔥🔥

  • @hype8248
    @hype8248 4 หลายเดือนก่อน

    How does it work with typescript? Because in a .tsx file the doesnt work and the mesh.current might be equal null

  • @CoryTheSimmons
    @CoryTheSimmons 4 หลายเดือนก่อน

    Only cool channel

  • @user-ql8nw1dn4r
    @user-ql8nw1dn4r 4 หลายเดือนก่อน

    Olieeee, can u please show how to make share image transition, like we are in one page, then when we go to another, the image is animating ang appears in other page, how is it done? 😢😢

  • @akashkumawatt
    @akashkumawatt 4 หลายเดือนก่อน +1

    Bro please make a video or add a blog post on
    How to use Locomotive scroll and GSAP scrolltriger both in React.js

  • @ashuu9257
    @ashuu9257 3 หลายเดือนก่อน

    One question , why don't you use no code toolss for these kind of cool animated websites , i am really confused :') what to choose

  • @kasper369
    @kasper369 หลายเดือนก่อน

    Is there a way to do glass effect with baking ?

  • @ArturGuedes
    @ArturGuedes 4 หลายเดือนก่อน

    Very good job! Your way of explaining was simple and direct, I loved it.
    But, I have a question. Is it possible to replace Text with Html and keep the same effect? I've been trying for hours and I can't.
    The reason I try to use Html is that it allows browser translation.
    Once again, great channel!

    • @olivierlarose1
      @olivierlarose1  4 หลายเดือนก่อน

      Hey! Glad you liked the video. Unfortunately your text needs to be inside the webGL context if you want it to be distorted by the shader

  • @jheanbrizadao2429
    @jheanbrizadao2429 4 หลายเดือนก่อน

    🎉🎉🎉🎉🎉🎉🎉🎉

  • @Teslabull
    @Teslabull หลายเดือนก่อน

    10:15 anyone know how to fix the in next 14, the bug still exists

  • @charlesxavier77
    @charlesxavier77 4 หลายเดือนก่อน

  • @vnunyy
    @vnunyy 3 หลายเดือนก่อน

    how can i hide the leva controlls?

    • @user-jq8ov3rv1c
      @user-jq8ov3rv1c 27 วันที่ผ่านมา

      There exists a attribute for that

  • @abdoillahahdad3575
    @abdoillahahdad3575 4 หลายเดือนก่อน

    I want to have an impact in everything I can

  • @deepak8586
    @deepak8586 4 หลายเดือนก่อน

    can I have separate group for text and the model??

    • @olivierlarose1
      @olivierlarose1  4 หลายเดือนก่อน +1

      Yes!

    • @deepak8586
      @deepak8586 4 หลายเดือนก่อน

      @@olivierlarose1 thanks!! and also could make tutorial where we can move the model based on the movement of the mouse ??

    • @olivierlarose1
      @olivierlarose1  4 หลายเดือนก่อน +1

      Noted!

  • @abdoillahahdad3575
    @abdoillahahdad3575 4 หลายเดือนก่อน

    Can I do this h1 instead of

    • @olivierlarose1
      @olivierlarose1  4 หลายเดือนก่อน +1

      Not if you want the distortion to work

    • @abdoillahahdad3575
      @abdoillahahdad3575 4 หลายเดือนก่อน

      I don't know why he doesn't want to work in nextjs@@olivierlarose1

    • @abdoillahahdad3575
      @abdoillahahdad3575 4 หลายเดือนก่อน

      I don't know why he doesn't want to work in nextjs@@olivierlarose1

  • @mazwrld
    @mazwrld 4 หลายเดือนก่อน

    I’m starting to notice that even though these designs are nice and the functional aspect of them are lacking..
    Are they even functional to begin with?

    • @olivierlarose1
      @olivierlarose1  4 หลายเดือนก่อน +1

      Most awwwards type websites are not meant to be “functional”. They definitely put form over function and are meant to have an artistic and visual impact rather than be something functional that you use repeatedly like a product

  • @ComfyCosi
    @ComfyCosi 4 หลายเดือนก่อน

    Why don't we want these components rendered on the server?

    • @SajanSingh-mj8eh
      @SajanSingh-mj8eh 2 หลายเดือนก่อน

      Because you don't want unnecessary load on your servers 😂, it's gpu processing on client side

  • @BojanKnezevic
    @BojanKnezevic 4 หลายเดือนก่อน

    ugh i dont know next... title should be Next not react, you lost some time going back and forth because of nextjs not focusing on resault

    • @olivierlarose1
      @olivierlarose1  4 หลายเดือนก่อน +1

      Good point! I've adjusted the title

  • @ParaZumir
    @ParaZumir หลายเดือนก่อน

    1:55 Waht visualizer? where can i find this visualizer? im noob and confused pls hepl

    • @ParaZumir
      @ParaZumir หลายเดือนก่อน

      i got it :) lol

  • @ParaZumir
    @ParaZumir หลายเดือนก่อน

    1 time a tutorial without asking questions, where evrything is explained.... i cant even type so much. very sad

  • @alvarobyrne
    @alvarobyrne 3 หลายเดือนก่อน

    dynamic import from next.js THANK YOU! @rect-three/fiber + @react-three/drei is an admirable universe