No video
How to Make a 3D Glass Effect using Three.js and Next.js
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.olivierla...
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.olivierla...
Follow me on Twitter: / olivierlarose_
Discord Channel: / discord
Thanks for watching!
#react #nextjs #awwwards #gsap #framer #motion
Пікірлер: 84
You share so much more than is required in your videos, providing excellent context - thank you so much Olivier
this channel is sick... keep spreading joy
@olivierlarose1
5 ай бұрын
Cheers
@gadoosher
5 ай бұрын
Wait, did you make Josh's graphics???
@mirjalol49
5 ай бұрын
@@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
5 ай бұрын
@@mirjalol49 Oh gotcha! His graphics are so dope I was going to geek out haha. Honestly everything he does is so dope. Cheers!
@mirjalol49
5 ай бұрын
@@gadoosher yes he is next level person. everything he does is dope as u said
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.
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!
So great to have this intro to ThreeJS/drei. Would love to see more on this subject of 3D effects / particle animations etc
Those textures can really make minimalist designs stand out
@olivierlarose1
5 ай бұрын
For sure!
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!
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!
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 :)
So appreciate to have such great content in this space. Looking forward to your course man!
pff ..this channel is gold..
Beautiful work man. I checked out your website and blog. Love your work!
youre the goat.
Love it ❤🔥
Thank you very much for this!
BEAUTIFUL!
dynamic import from next.js THANK YOU! @rect-three/fiber + @react-three/drei is an admirable universe
Amazing tutorial as always 🤩
i love your videos man! Great work!
@olivierlarose1
5 ай бұрын
Cheers my friend!
Great tutorial as usual!
loveit men really helps a lot😉
Hi! Loved the video. It seems that you forgot to include the demo link in the description. Keep up the great work ❤
@olivierlarose1
5 ай бұрын
Thanks for the heads up! I've added it
Great Tutorial. Thanks. Subscribed.
Amazing man , thank you ❤️🎉
BANGER VIDEO
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
Much aprriciated video!
👏👏👏
❤❤ Thanks for this tutorial
Thank you!
i need this, cheers, bro
This is dope 🎉🎉🎉🎉
Awesome inwas about to start a similar project. Ty
Bro please make a video or add a blog post on How to use Locomotive scroll and GSAP scrolltriger both in React.js
@olivierlarose1
5 ай бұрын
Noted!
Very good!!
Hey ! Thanks for the tutorial, its awesome ! On white background my torus looks black, do you know how to change its color ?
Great tutorials - keep cooking
Only cool channel
thank you
Hiiiii Oliver! Im expecting your Framer Motion course! When it would be able to start???
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
5 ай бұрын
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
How does it work with typescript? Because in a .tsx file the doesnt work and the mesh.current might be equal null
kewl ❤💯
🔥🔥🔥
niceee
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? 😢😢
nice
Is there a way to do glass effect with baking ?
10:15 anyone know how to fix the in next 14, the bug still exists
One question , why don't you use no code toolss for these kind of cool animated websites , i am really confused :') what to choose
@sanvedbhoyar
10 күн бұрын
Probably cuz he wants to create these animations himself from scratch... And also, many no-code tools don't have optimized code which slows down the website
I want to have an impact in everything I can
🎉🎉🎉🎉🎉🎉🎉🎉
can I have separate group for text and the model??
@olivierlarose1
5 ай бұрын
Yes!
@deepak8586
5 ай бұрын
@@olivierlarose1 thanks!! and also could make tutorial where we can move the model based on the movement of the mouse ??
@olivierlarose1
5 ай бұрын
Noted!
how can i hide the leva controlls?
@user-jq8ov3rv1c
2 ай бұрын
There exists a attribute for that
Can I do this h1 instead of
@olivierlarose1
5 ай бұрын
Not if you want the distortion to work
@abdoillahahdad3575
5 ай бұрын
I don't know why he doesn't want to work in nextjs@@olivierlarose1
@abdoillahahdad3575
5 ай бұрын
I don't know why he doesn't want to work in nextjs@@olivierlarose1
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
5 ай бұрын
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
Why don't we want these components rendered on the server?
@SajanSingh-mj8eh
4 ай бұрын
Because you don't want unnecessary load on your servers 😂, it's gpu processing on client side
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
5 ай бұрын
Good point! I've adjusted the title
1:55 Waht visualizer? where can i find this visualizer? im noob and confused pls hepl
@ParaZumir
2 ай бұрын
i got it :) lol
1 time a tutorial without asking questions, where evrything is explained.... i cant even type so much. very sad