Underwater Caustics - Advanced Materials - Episode 41

  Рет қаралды 7,808

Ben Cloward

Ben Cloward

Күн бұрын

Пікірлер: 36
@HylianEvil
@HylianEvil 10 ай бұрын
Always a treat to get these videos
@jonascarvalhodearaujo8038
@jonascarvalhodearaujo8038 10 ай бұрын
Yesterday I was working on adding your previous caustics shader (for the post processing underwater one) on Unity and was having a hard time on one final step, so I went to bed to try again today and I just received the notification of a this new video haha Gold content as always, Ben!
@MitchMakesGames
@MitchMakesGames 10 ай бұрын
This series is excellent. Thanks, Ben!
@Uncle_Fred
@Uncle_Fred 10 ай бұрын
Interesting. Not sure I prefer this over the more subtle light leaks that already existed in the previous tutorial, but it's an interesting learning experience. Keep up the good work.
@Yoctopory
@Yoctopory 7 ай бұрын
This is awesome, thank you so much!! At 19:02: This "stretching" is exactly what real caustics do though and it is dependent on the angle of the sun shining into the water.
@BenCloward
@BenCloward 7 ай бұрын
In my case, I created it this way originally because it was what the art director wanted. "Hey, why aren't there any caustics over here on this side of the underwater cliff? And no, I don't want to change the direction of the sun to get them there." So it's more of an esthetic thing rather than trying to simulate the way caustics actually work.
@Yoctopory
@Yoctopory 7 ай бұрын
@@BenCloward Art directors, am I right? 🙄😄 I found out that when I put your material on a light function with a directional light, I get that shadows (no caustics in dark places, just like in real water) and the light direction / rotation can just be matched that of the sun. Also, because it's light, it gets "multiplied" with the ground and objects and looks real nice. Only problem, I can't seem to figure out how to only start the caustics from a specific depth - because it is a directional light, the whole world is now full of caustics 😆. And also I couldn't figure out light attenuation with this. Guess it needs some more work.. If you know something about that, I would be really happy. If I figure out something, I let you know.
@punkerspb
@punkerspb 10 ай бұрын
Thank you very much!!!
@KC3D
@KC3D 10 ай бұрын
Thank you so much Ben!!! I have a small request: I did a Borderlands Comic book style global shader for black outlines in the world, but I do not know how to control their visibility based on distance from the camera (meaning probably thickness than visibility, but sort of the same). Is there any videos you've done about this? You've mentioned that it is controllable as such in your old Comic style PP video, but I do not think you've covered it? Thank you!!!
@markplatts6520
@markplatts6520 17 күн бұрын
Hi Loving your tutorials and beavering away enjoying exploring materials in Unreal, is there a way of changing the caustic texture to say, cell noise?
@googlefuuplayad9055
@googlefuuplayad9055 10 ай бұрын
Uiii.. Thanks.. Lets watch it 😊
@jihadrouani5525
@jihadrouani5525 10 ай бұрын
I asked for this last week, I didn't think much of it since then which made this video quite the gift for me today, thanks Ben! I hope you can teach us more and more of this cursed wizardry that is shader graph =] Also, can we get a tutorial on Surface Gradient Bump Mapping? That would help me with some procedural shaders I've been making.
@BenCloward
@BenCloward 10 ай бұрын
Glad I could help! Sometimes people's requests line up really nicely with the direction I'm going and it works out really nicely like this.
@mountain_tiger100
@mountain_tiger100 10 ай бұрын
When using URP, the Sample Buffer node set to NormalWorldSpace returns black? I have also enabled SSAO to trigger the depth normal prepass which comes before the DBuffer one.
@jonascarvalhodearaujo8038
@jonascarvalhodearaujo8038 10 ай бұрын
I think I'm having the same issue, so the projection is always oriented to X plane. Can't find a workaround 🤔
@BenCloward
@BenCloward 10 ай бұрын
Yes, the SampleBuffer node doesn't work correctly in URP. It's an HDRP node. In my next video, I show a different method for getting the world space normals that works better.
@mountain_tiger100
@mountain_tiger100 10 ай бұрын
Why does the normal vector Node return the projectors direction instead of the surface normal? I could never understand this.
@BenCloward
@BenCloward 10 ай бұрын
There is no normal on a decal because there is no geometry/mesh - so what the Normal Vector node should provide is a bit ambiguous.
@andregomessoares
@andregomessoares 10 ай бұрын
Amazing! And about the water shader you use in Unreal example?
@BenCloward
@BenCloward 10 ай бұрын
If you're asking how I made it, take a look at episodes 36-40.
@bojandronjic4658
@bojandronjic4658 10 ай бұрын
Hi Ben,Do you maybe know if there is a way in unity HDRP to caustic(decal ) reduces the intensity depending on the shadows from the scene?For example,if i have some rock with shadow i want to decrease caustic intesity where is the shadow of rock or some shadow caster object.
@BenCloward
@BenCloward 10 ай бұрын
I know how to create a custom code node in Unity's URP for accessing the shadow mask, so I could do it there, but I don't yet know how to do that in HDRP. It could be that it's not possible because the shadows are calculated after the decal pass. Not sure.
@bojandronjic4658
@bojandronjic4658 10 ай бұрын
@@BenClowardCould you post code for URP, to see how to access and sample an shadow map,i guess shadow map is atlas? I will try to buffer the shadow map from the previous frame and use in curent frame in HDRP.
@AliasA1
@AliasA1 5 ай бұрын
@@bojandronjic4658did you ever figure this out?
@tranceemerson8325
@tranceemerson8325 10 ай бұрын
why is your foam only visible if it's projected in front of the stones or whatever intersecting the surface? the foam just disappears when the object underneath curves out of visibility.
@BenCloward
@BenCloward 10 ай бұрын
This technique is using the different between the distance to the water surface and the distance to the surface behind it to determine where to place the foam. It's nice because it automatically applies foam, but it does have the downside you pointed out. You could also just paint a mask texture to control where you want the foam to go, but that's a bit more work. So it depends on if you want an automatic solution with a few drawbacks (the one I show in this video) or if you want to use a bit more manaul labor and to make something without the drawbacks.
@tranceemerson8325
@tranceemerson8325 10 ай бұрын
@@BenCloward ok, I understand, there's no automatic solution for what I am talking about.
@typeable
@typeable 2 ай бұрын
rendering pipeline?
@namearchi
@namearchi 10 ай бұрын
any way to mask out shadows on the shader level ? (for dynamic lighting) caustic never does that much in a shadowed area
@BenCloward
@BenCloward 10 ай бұрын
Yes, know how to do that in Unity using custom code. I may show it next week.
@namearchi
@namearchi 10 ай бұрын
@@BenCloward cool that's really interesting, I need that stuff for Unreal tho...
@Shiva4D
@Shiva4D 10 ай бұрын
but... why? why did you removes vertical leaks and did this terrible triplanar? Take a look on real caustic - it is leaking.. cause it is projected.. by sun. ))
@BenCloward
@BenCloward 10 ай бұрын
Ouch - thanks for the feedback. Sorry you don't like it. You make some good points. If I get some time, I'll experiment with what you're suggesting.
@jonascarvalhodearaujo8038
@jonascarvalhodearaujo8038 10 ай бұрын
@@BenCloward I preferred the triplanar too lol
@frederickdalley7871
@frederickdalley7871 10 ай бұрын
Tend to agree😅 I think maybe reducing the intensity as a normal converges on the x or z planes would've looked better. Also, as well as the UV warping, multiplying instead of adding the scrolling caustics might help to disguise the fact they're just 2 linearly scrolling textures a bit better.☺️
@Shiva4D
@Shiva4D 10 ай бұрын
@@BenCloward I sed triplanar caustic its sucks, not your tutorial. Your tutorial its good and cover a lot of trouble places. I like it. But im sure with your knowledge you can du amazing caustic. For example.. caustic have more intense warping with deep. You can generate 2-3 types of texture with bigger warping and blend by height. )
Underwater Caustics Part 2 - Advanced Materials - Episode 42
27:05
Your Triplanar is wrong. Here's how to make one that works. [UE5]
24:48
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
First Steps Walkthrough (Inventory Framework Plugin)
23:53
Varian Daemon
Рет қаралды 97
Water Depth Shader - Advanced Materials - Episode 39
27:20
Ben Cloward
Рет қаралды 7 М.
This New AI is 430,000 Times Faster Than Reality (AGI Robots Soon)
8:37
Sharp Text Shader - Advanced Materials - Episode 18
26:28
Ben Cloward
Рет қаралды 9 М.
Evolution of NVIDIA Tech Demos 1999-2022 w/ Facts
14:34
Game Evolutions
Рет қаралды 1 МЛН
Unity URP - Simple Caustics Effect Tutorial
4:32
帕羅 Paro
Рет қаралды 4,9 М.
Unreal Engine Materials in 6 Levels of Complexity
44:12
pwnisher
Рет қаралды 322 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН