Sand Shader - Advanced Materials - Episode 14

  Рет қаралды 27,299

Ben Cloward

Ben Cloward

Күн бұрын

Пікірлер: 55
@RCTommy
@RCTommy Жыл бұрын
Wait... This is exactly what I was looking for today, and then I realised... You've just posted this video! Awesome!
@ErikBorchersVR
@ErikBorchersVR Жыл бұрын
Wow Ben! This is incredible. Thank you for showing and explaining the texture packing of going from 4 samples to 1.
@AlekMadeDis
@AlekMadeDis Жыл бұрын
And if we combine with, what we learned from Snow material. We can add little sparkling effect for it when directional light is shining towards camera )
@manonthedollar
@manonthedollar Жыл бұрын
That was a great little hack!
@pavelnikitchenko5018
@pavelnikitchenko5018 10 ай бұрын
Hi Ben! Thanks for the great tutorial. I think you can optimize this material more and don't use second texture: Put noise in the alpha channel of the first texture and then append Alpha of two texture samples (one shifted by 0.5).
@threedai
@threedai Жыл бұрын
Excellent topic, and with the possibility to optimize it !!
@Kiwi2703
@Kiwi2703 Жыл бұрын
Thank you for the tutorial! Could you also make one to show how to make other desert/sand effects in addition to this shader? For example wind blowing sand from the tips of dunes etc.
@BenCloward
@BenCloward Жыл бұрын
That’s a good idea but I’m not an expert at particle effects, so it’s probably better if someone else makes that one.
@blastforge
@blastforge Жыл бұрын
You could add a noise texture and use the panner node to move that texture across the surface, multiply this with a slightly brighter colour than your original sand base colour and add it to the previous base colour. This will create some nice additional motion :) For a more complex result, multiply 2 noises together at different panning speeds to create one that appears to morph and change. Depending on the difference of speeds you will get slow or fast motion in the noise. These are just 2D effects however on the surface material :)
@hantergidi
@hantergidi Жыл бұрын
@@BenClowardan you please show the unity part slowly step by step? Thanks
@impheris
@impheris Жыл бұрын
this channel is gold
@shakaama
@shakaama Жыл бұрын
oh my god Ben, thank you so much. I love you bro.
@MZONE3D
@MZONE3D Жыл бұрын
thankyou... it would also be cool to have another video on a simplified animated blowing sand to go above the base sand layer?
@blastforge
@blastforge Жыл бұрын
You could add a noise texture and use the panner node to move that texture across the surface, multiply this with a slightly brighter colour than your original sand base colour and add it to the previous base colour. This will create some nice additional motion :) For a more complex result, multiply 2 noises together at different panning speeds to create one that appears to morph and change. Depending on the difference of speeds you will get slow or fast motion in the noise. These are just 2D effects however on the surface material :)
@ultracapitalistutopia3550
@ultracapitalistutopia3550 Жыл бұрын
About the x*2-1 to remap the x from [0,1] to [-1,1], in UE you can use the Constant Bias node which just do (x+a)*b. So in this case a = -0.5 and b = 2. It just make the graph looks neater especially if you remap values alot in the material.
@BenCloward
@BenCloward Жыл бұрын
One node instead of two. Ok, I'll do it! Thank you!
@manonthedollar
@manonthedollar Жыл бұрын
4:38 : Instead of blurring the image, you can increase the sample size of your eyedropper which will essentially do the same thing for you.
@medmel2160
@medmel2160 Жыл бұрын
I was waiting for this one, super excited It's cool you go around with the mannequin. It makes the scale easier to understand. There is an effect I'm thinking about with desert sand, when you look at the sand head touching the sand, you can see the ground is reflecting very much as if there was water. How to achieve such effect, a simple fresnel? Thanks!
@matteckenrodt
@matteckenrodt Жыл бұрын
maybe a fesnel combined with anisotropy which he has a tutorial on
@medmel2160
@medmel2160 Жыл бұрын
@@matteckenrodt thanks for your idea, I'll try it
@matteckenrodt
@matteckenrodt Жыл бұрын
@@medmel2160 come back here if it works! I'd love to know how you set it up
@medmel2160
@medmel2160 Жыл бұрын
@@matteckenrodt will do!
@OMarceloMarquesDeOliveira
@OMarceloMarquesDeOliveira Жыл бұрын
Adding a parallax occlusion to this material would be perfect.
@preston7036
@preston7036 Жыл бұрын
Hi, could you create tutorial about how to make translucent ice which blending with water?( by vertex paint )
@r0mbag-art
@r0mbag-art Жыл бұрын
Your videos are invaluable. Thank you for posting them!
@brucediaz97
@brucediaz97 Жыл бұрын
Sorry if this has little to do with the video itself but I really wanted to thank you for your work in Robotech: Invasion, its one of my favourite games of all time! I hope you continue to create awesome content!
@BenCloward
@BenCloward Жыл бұрын
Hah! You're welcome! Lots of crunch time on that one - but it was a fun challenge to figure out how to make the cyclone armor transform correctly.
@brucediaz97
@brucediaz97 Жыл бұрын
@@BenCloward I bet! Ended up looking amazing. Is there any chance you could make a video talking about it?
@gossalex
@gossalex Жыл бұрын
laughed a lot in this one Ben.
@eneg4771
@eneg4771 Жыл бұрын
Can you share your file, I still don't understand a lot of things
@ji_-to2478
@ji_-to2478 Жыл бұрын
Thank you so much for all the effort you put into these videos, they're super helpful.
@dannys_85
@dannys_85 Жыл бұрын
Ben you are the best thank you.
@mahboobalavi4193
@mahboobalavi4193 Жыл бұрын
how can i find GLSL shaders tutorial ?
@tylergorzney8499
@tylergorzney8499 Жыл бұрын
Instead of using the Blend overlay which uses several If nodes (expensive yes/no?), I multiplied thetint map by 2 an then multiplied that by the tint color. I get ALMOST the exact same result. Blend overlay produces slightly better "white" values, where my method the white values have more color tint to them. Curious what your thoughts are on this? Am i really not saving much performance?
@blastforge
@blastforge Жыл бұрын
Hi Ben, this is great however when you do math, such as on the red channel of the noise, you could right click and "Start Previewing Node" to show the effect to the viewer isolated from the other channels. This might help with certain things such as power. :)
@DavidWKimber
@DavidWKimber Жыл бұрын
Invaluable!
@savagersmovies4526
@savagersmovies4526 Жыл бұрын
Hi Ben, I am quite new in Shaders (i have only some experience from Blender node editor). I woud like to learn shaders from basics. So my question is: Which your series of videos should i watch first, the older UE4 Materials or Shader Basics or other? Thanks for your recommandation :)
@cmitchell6927
@cmitchell6927 Жыл бұрын
Let's go!
@ONe-yw1eh
@ONe-yw1eh Жыл бұрын
Thank you
@tranceemerson8325
@tranceemerson8325 Жыл бұрын
I feel like sand sometimes has some really shiny specks that glitter in the sunlight.
@blastforge
@blastforge Жыл бұрын
You could use one of the channels in the noise and power it heavily to reduce the overall values of anything under 1. You should have a very dark texture except some white specks, you could then ADD this to your roughness channel to have some very shiny flecks in the roughness to help achieve this result. You can use Right Click on the Power node and Start Previewing Node to dial in the power setting
@miloszgierczak4806
@miloszgierczak4806 Жыл бұрын
Hey Ben! Thank you for another video!!!
@DangAllen
@DangAllen Жыл бұрын
Learned much from you, thank you!
@antoniosuarez7881
@antoniosuarez7881 Жыл бұрын
thanks, grate tutorial
@archiblage
@archiblage 11 ай бұрын
Great toturial, but excuse my ignorance, I still do not understand why splitting the texture map into two layers is optimization
@BenCloward
@BenCloward 11 ай бұрын
Very large, low frequency detail doesn't require a lot of texture resolution - but it looks blurry. Very high frequency detail does require a lot of texture resolution. If you use one texture that has both low and high frequency detail, you need to use a very large texture to accommodate the needs of both of them - like maybe 2k. But if you put all of the high frequency detail in a separate texture, you can make that texture smaller (like maybe 256) and tile it several times. You can also make the low frequency detail texture smaller - like maybe 512. So the two textures are just 512 + 256 instead of 2k and the result is very similar but using ~1/8th of the texture memory. Does that help?
@archiblage
@archiblage 11 ай бұрын
@@BenCloward understood, thank you so much
@Sav3D
@Sav3D Жыл бұрын
Looks like Unity does the inverted green channel unlike Unreal
@BenCloward
@BenCloward Жыл бұрын
Yes, that's correct. Unity is Y positive and Unreal is Y negative.
@krz9000
@krz9000 Жыл бұрын
The average filter in photoshop is THE BEST to get that one colorvalue if we only can afford one colorvalue😉
@furkannarin2844
@furkannarin2844 Жыл бұрын
Why not use the mask component instead of doing all the math for retrieving the first normal map in unreal?
@LakiLOOP
@LakiLOOP Жыл бұрын
Blur - > Average
@junglingmitapfel2902
@junglingmitapfel2902 Жыл бұрын
Anakin Skywalker does not approve it!
@BenCloward
@BenCloward Жыл бұрын
😆
Parallax Occlusion Optimization - Advanced Materials - Episode 15
23:27
Glass Shader - Advanced Materials - Episode 16
25:43
Ben Cloward
Рет қаралды 20 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Recreating Dune Environment in Blender
5:36
Hamza N. Meo
Рет қаралды 54 М.
Hellblade 2 is getting TOO REAL in Unreal Engine 5 | New Metahuman Animator
18:20
How Not To Make An Environment
24:43
caponeart
Рет қаралды 27 М.
Sand Rendering in Journey
22:18
GDC 2025
Рет қаралды 75 М.
Bricks and Stucco Shader - Advanced Materials - Episode 17
33:31
Ben Cloward
Рет қаралды 16 М.
Physically Based Cel Shading
36:41
Visual Tech Art
Рет қаралды 139 М.
The Key to Realistic Renders in Blender
14:31
Kaizen
Рет қаралды 147 М.
How to make HD 2D Games in Unreal Engine 5
9:14
Cobra Code
Рет қаралды 22 М.
Making Dynamic Desert Sand in Unreal Engine 4
7:07
dotplusplusplus
Рет қаралды 56 М.
URP Water Shader - Unity Shader Graph (Tutorial)
16:11
MichaelsGameLab
Рет қаралды 7 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН