Ice Shader Part 2 - Advanced Materials - Episode 6

  Рет қаралды 21,040

Ben Cloward

Ben Cloward

Күн бұрын

In this shader tutorial for Unreal and Unity, we create the second part of an ice shader - the volumetric effects. I show how to make it look like the ice has internal details by offseting the UV coordinates based on the view direction.
Here's my past video that explains how the effect works:
• Volumetric Ice Shader ...
Here's last week's video on creating the ice refraction:
• Ice Shader Part 1 - Ad...
Here's the playlist for all of the videos in the series:
• Advanced Materials
Shader Book Recommendations
www.bencloward...
------------------------------
Theme Music
Peace in the Circuitry - Glitch Hop
teknoaxe.com/Li...
Background Music
Speo - The Little Things
• The Little Things
#UnrealEngine #shadergraph #Unity

Пікірлер
@rdariusm
@rdariusm 2 жыл бұрын
Thank you very much for sharing all of this with us Ben. You're a godsent for tech artists wannabes
@BenCloward
@BenCloward 2 жыл бұрын
Thank you very much for the support, Darius!
@huajieyu9678
@huajieyu9678 Жыл бұрын
This ice shader effect is really pretty cool!!!
@elianzuniga4975
@elianzuniga4975 2 жыл бұрын
Finally I found a good channel with good tutorials! I would like to see how to create a realistic mossy shader! 😁
@OggyT
@OggyT 2 жыл бұрын
Hey Ben, I've noticed that on the ice shader in both implementation this causes the asset to render faces on the other side of the mesh that are facing somewhat towards the camera, or to explain it better, convex faces that are behind the polygons you're viewing, that are also oriented towards the direction of the camera. It's more visible at the 15:00 minute mark, on the left side of the ice. It seems like the effect is toned down when you have a higher value in the normal strength.
@giorgikoridze8608
@giorgikoridze8608 2 жыл бұрын
Never thought that the same shader will look a lot better in Unity than in UE.
@dannyl5771
@dannyl5771 2 жыл бұрын
i prefer UE in general, but i admit, the unity shader is way better !
@medmel2160
@medmel2160 Жыл бұрын
huge thanks for your big contribution to the gamedev community
@rainbowcatcher
@rainbowcatcher Жыл бұрын
Very nice shader! Thanks Ben 👍
@leejin192
@leejin192 2 жыл бұрын
Hi,Ben.Thank you for sharing the shader, it looks cool. For the Unreal shader , have you try check the output velocity in material detail panel ? and keep the opacity mask clip value as low like default. It will probably solve the TAA issue.
@BenCloward
@BenCloward 2 жыл бұрын
Thank you for the tip! I'll try it.
@hunchbackproduction
@hunchbackproduction 2 жыл бұрын
This fixed the TAA ghosting issue!
@ikd3813
@ikd3813 Жыл бұрын
thank you so much for sharing ❤️ ... can we get the ice texture?
@nicolashernanhoyosrodrigue762
@nicolashernanhoyosrodrigue762 9 ай бұрын
Thanks!
@BenCloward
@BenCloward 9 ай бұрын
Really appreciate the support!
@PixelVillain
@PixelVillain 2 жыл бұрын
Wonderful tutorial as always!
@PhantomZtryker
@PhantomZtryker 2 жыл бұрын
The unity one looks so much better. Why is that? I assume the ghosting effect is from the temporal aa in unreal but the static result when you're not moving the camera still looks much better in unity.
@BenCloward
@BenCloward 2 жыл бұрын
I think it has a lot to do with the base asset I'm using. The one in Unity just lends itself better to being ice than the one in Unreal. I'm sure I could get better results in Unreal if I had a better asset. But the assets aren't the focus on my channel really, so I don't spend a lot of time on that.
@PhantomZtryker
@PhantomZtryker 2 жыл бұрын
@@BenCloward I see. Thanks.
@Max_Stupa
@Max_Stupa 2 жыл бұрын
Thanks Ben, handy tutorial, final result impressive! Unreal struggling with TXAA, looks like issues with velocity buffer.
@thevestarr
@thevestarr 2 жыл бұрын
I remember the previous video on ice shaders! Looks great as always, thanks for sharing!
@BenCloward
@BenCloward 2 жыл бұрын
Nice! Thanks for being a long-time viewer!
@MennoWeerman
@MennoWeerman Жыл бұрын
@@BenCloward Do you know where i can find the Ice volume grayscale texture that you use?
@ermperson
@ermperson 2 жыл бұрын
UE. In addition to the error in connecting "Mask RG" which was already mentioned in the comment, you also have a value of 1 in the "FlattenNormal" node, which essentially means that you are supplying a solid blue color. In fact, it means that you just turned it off.
@BenCloward
@BenCloward 2 жыл бұрын
Ah, you're right. Thanks for the feedback. I guess I want a value like 0.9 so it's not completely gone, but it's pretty weak.
@qwertiesSC2
@qwertiesSC2 2 жыл бұрын
Great video Ben! I know you mentioned that you'd cover a skin material already in the first video of this series, but I'd love it if you included several different methods of achieve a subsurface scattering effect, some of which are cheaper but don't look as good. In a similar format to what you showed in the video about blending normal maps.
@Hietakissa
@Hietakissa 2 жыл бұрын
I noticed how in some angles you can see the outside faces of the ice through it causing very weird looking shading (you can see it pretty clearly at 15:17 on the left), it looks pretty undesirable and would probably need to be fixed somehow
@ruslanbordiug7548
@ruslanbordiug7548 2 жыл бұрын
15:28 Ice shader in UE5
@geri4367
@geri4367 2 жыл бұрын
As always, thank you very much :D
@MennoWeerman
@MennoWeerman Жыл бұрын
Where can i find the Ice volume grayscale texture that you use?
@mxn5132
@mxn5132 2 жыл бұрын
Why didn't you connect the R and B channels from the Custom Reflection Vector to the multiply of the second tiled mask?
@BenCloward
@BenCloward 2 жыл бұрын
It was a mistake. I missed that connection.
@mxn5132
@mxn5132 2 жыл бұрын
@@BenCloward Did it stop the shader from acting weird?
@antoniosuarez7881
@antoniosuarez7881 Жыл бұрын
thanks, grate tutorial
@YOGESHKUMAR-ry1fz
@YOGESHKUMAR-ry1fz 2 жыл бұрын
dont forget for frosted glass shader
@noisegrindercn
@noisegrindercn Жыл бұрын
That temporal ghost flickering effect is actually very... interesting. I'm wondering if there is any cheap way to achieve otherwolrdly effect like that in materials. I knew Dither Temporal AA node could achieve something similar but just couldn't control the flickering intensity.
@iuliandobrogeanu3762
@iuliandobrogeanu3762 Жыл бұрын
Hey Ben , I've followed your tutorial it's great ! However when stacking models for an environment piece and moving the character along there is some sort of clipping , disappearing on/off of meshes whilst walking by them ? Do you know how to deal with that or 3d models shouldn't intersect ?
@BenCloward
@BenCloward Жыл бұрын
Hmm, hard to tell what the problem is just from the brief description you’ve given. Is this in Unity or Unreal? Any more details you can provide?
@iuliandobrogeanu3762
@iuliandobrogeanu3762 Жыл бұрын
@@BenCloward kzbin.info/www/bejne/rpC2nKSCl7iEqNU here is a demo . Once I've tried out the material on opaque there are no issues , so generally I guess Unreal doesn't support well translucent models overlapping
@BurakSaruhan
@BurakSaruhan 2 жыл бұрын
Great vid!
@Matt.visualz
@Matt.visualz 2 жыл бұрын
Hey, thanks a lot for this, it helped me very much! Let me ask you something, i used this material to make a ice floor in a snow environment, but i want to animate a car riding on top of this ice, and i need the shadow, but the problem is that the shadow passes the ice because it is translucent, do u know how to make the shadow stay on top of the ice or another way to use a plane as a shadow catcher or something like that?
@1d33f1x3
@1d33f1x3 2 жыл бұрын
This looks great, fixed the ice blocks in my game! Is there a way to have translucent objects cast chadows?
@hotsauce7124
@hotsauce7124 2 жыл бұрын
Loved this, THANK YOU SO MUCH. Question, is there a way in UE5 to layer paint textures on Static objects (Not terrain)...Like Substance Painter?
@orangebananaaaa
@orangebananaaaa 2 жыл бұрын
Unity one looks good but not so much on the UE one
@Polytricity
@Polytricity 2 жыл бұрын
Any reason why the unity one is better? something to do with the lighting becuase there is less specular reflection happening in the UE scene?
@1MOLNH3
@1MOLNH3 Жыл бұрын
This kind of materials like water, ice etc. takes it's visuals from what they refract and what they reflect so if the environment they're in better, visuals will be richer and better. At this case I believe environment at the Unity side was richer and that scene actually Unity's demo to showcase the lighting and there are a lot of adjustments for that like light probes etc.
@jovlem
@jovlem Жыл бұрын
Won't this cause problems where the UV seams are? I mean, it's a tileable texture but it's not unique for the mesh so I gues you can see where the seams are? In this example that might not be a big problem because the normal map wil "hide" these seams. But wil it also look good on a smoother mesh?
@hunchbackproduction
@hunchbackproduction 2 жыл бұрын
In the unreal ice shader when viewing light sources through the ice the light colour is inverted. White light = black. Seems to happen because of the add node before the lerp. Any idea lads ?
@bunnybreaker
@bunnybreaker Жыл бұрын
Holy shit this is amazing.
@hotsauce7124
@hotsauce7124 2 жыл бұрын
Question: In UE5, the Nanite geo turns brown when I apply the Ice shader...like the material is not really applied or the Buffer can't render it in Viewport. Have you come across a solution for this Nanite anomaly? The Ice shader looks good in the material editor preview, weird. But Nanite looks untextured in the viewport. If I turn the Nanite "off, " the ice shader looks good. Something about Nanite that the Ice Shader does not like.
@BenCloward
@BenCloward 2 жыл бұрын
I don’t think Nanite objects can be transparent. They’re pretty limited right now in terms of shader options you can use with them, but Epic appears to be working hard to improve that.
@hotsauce7124
@hotsauce7124 2 жыл бұрын
@@BenCloward You are so RIGHT! Dang I should have known that. Thank you for that. Your Material Tutorials are AWESOME!
@darviniusb
@darviniusb 2 жыл бұрын
I think you missing some SSS to. Ice has subsurface scattering to. The unity one looks great. The UE one looks the opposite.
@BenCloward
@BenCloward 2 жыл бұрын
IMO, subsurface scattering works best on surfaces that are opaque - like skin or wax. Since I'm using a transparent surface, I prefer not using it. And I agree that the Unreal rock doesn't look at nice as the Unity one. I think that has more to do with the asset I'm using than the shader technique though.
@arturoorgaz
@arturoorgaz 2 жыл бұрын
@@BenCloward I think that you also left something unplugged in one of the multiply nodes in UE, the output of the CameraReflectionVector XY components seems to be unplugged in the "ice layer" closer to the surface. I love your videos, thanks so much for doing them! 🙂
@arturoorgaz
@arturoorgaz 2 жыл бұрын
@@BenCloward I hope you don't mind me asking, but which engine do you prefer overall, Unity or UE? I am about to start a small VR project, I was thinking of doing it in UE4 (I don't think UE5 is very good for VR at this point, right?), but I think Unity might be more performant in VR? Thank you! 🙂
@BenCloward
@BenCloward 2 жыл бұрын
@@arturoorgaz Since I work for Unity, I'm afraid my answer may be a bit biased. :0) But yes, I would say in general that Unity has a reputation for running faster on mobile and VR platforms.
@BenCloward
@BenCloward 2 жыл бұрын
@@arturoorgaz I did, yes. I wish the wires remained connected after pasting like they do in Unity.
@Crylar44
@Crylar44 Жыл бұрын
Would be nice if I could Alt+ Move the nodes and the copys kept the input connections :o
@beachc4397
@beachc4397 2 жыл бұрын
Why don't you use refraction nodes in Unreal?
@twilatson8521
@twilatson8521 20 күн бұрын
Really cool tutorial thank you ! I just don't understand why Multiply by 0. Is it a mistake ? Because multiply by 0, this whole part is useless then.
@Girugi
@Girugi Жыл бұрын
You get a lot of issues with the temporal effects/TAA/TSU in unreal there. I assume you can mask out the ice from the temporal buffers, but that will make it look pretty rough... But as the same pixels has multiple different parallax layers, you can not really give the temporal buffers a correct motion vector. But, you might be able to at least give it something better than the automatic one. If you have any ideas on this I would love to see a discussion about it in a video. As this would be a problem in unity too if you used the same temporal effects.
@Misaki_eku
@Misaki_eku Жыл бұрын
I think that's the problem that the transparent material doesn't write motion vector. There is an option in HDRP's material to make the transparent material writes the motion vector, UE may also have this option but just forgot to turn it on.
@Girugi
@Girugi Жыл бұрын
@@Misaki_eku with transparent layers with parallax, there is no one motion vector that can represent all layers of the material. You can try to calculate on that I'm in between all the depth you use, but it will always suffer from more ghosting than opaque materials. That is just how temporal stuff works sadly.
@emrearslan9572
@emrearslan9572 Жыл бұрын
22:17
@marekbarski3708
@marekbarski3708 2 жыл бұрын
why so flickering in unreal wersion of shader?
@BenCloward
@BenCloward 2 жыл бұрын
It's a combination of video compression and temporal anti-aliasing.
@vildauget
@vildauget 2 жыл бұрын
pure magic :)
@SR_Unbox_Vlogs_N_reviews
@SR_Unbox_Vlogs_N_reviews Жыл бұрын
GREAT
Metal Shader - Advanced Materials - Episode 7
21:29
Ben Cloward
Рет қаралды 11 М.
Sparkling Snow Shader - Advanced Materials - Episode 2
38:03
Ben Cloward
Рет қаралды 32 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
The Fresnel Node | 5-Minute Materials [UE4]
6:47
PrismaticaDev
Рет қаралды 45 М.
Ice Shader Part 1 - Advanced Materials - Episode 5
19:57
Ben Cloward
Рет қаралды 14 М.
Volumetric Ice Shader - UE4 Materials 101 - Episode 11
12:21
Ben Cloward
Рет қаралды 43 М.
Snowy Rock Shader - Advanced Materials - Episode 4
44:19
Ben Cloward
Рет қаралды 10 М.
Why Unreal Engine 5.5 is a BIG Deal
12:11
Unreal Sensei
Рет қаралды 1,5 МЛН
Unreal 5 - Realistic Interactive Water in 5 Minutes
6:31
renderBucket
Рет қаралды 31 М.
Rock Shader - Advanced Materials - Episode 3
31:49
Ben Cloward
Рет қаралды 17 М.
Unreal Engine Materials in 6 Levels of Complexity
44:12
pwnisher
Рет қаралды 318 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН