📝 The Ultimate 2D & 3D Shader Graph Course: tinyurl.com/3b5zac7c 🌎 Let us know what you think about this video, also feel free to chat with us on our Discord server: discord.com/invite/b6bXKSV ❤ Support us on Patreon www.patreon.com/BinaryLunar and gain access to all our tutorial projects. 📦 Check our Assets on Unity Assets Store: assetstore.unity.com/publishers/47136
@maistrogaming7911
3 жыл бұрын
Thank you btw
@BinaryLunar
3 жыл бұрын
@@maistrogaming7911 our pleasure.
@inhabitantwaps3qs803
3 жыл бұрын
when i try connect the water colour section to the lerp how you did o the lerp it shows black even when ive checked through everything so my water is now just white is there a fix.
@killoki8538
3 жыл бұрын
if you are using HDRP, you should put HD Scene color instead of scene color in the refraction part and turn on exposure, or you'll get a very bright material
@user-vk2yc4dy2e
3 жыл бұрын
thank you very much!!I'm looking for a solution to this problem
@roi_bidoushka5531
2 жыл бұрын
But i with that i have nothing too, when i change the color opacity, nothing happens ( ps : i dont know where i must turn on depth and opaque texture in HDRP ?)
@dc348
Жыл бұрын
@@roi_bidoushka5531 I activated the transparenci of the material in surface options, is the previous section to exposed properties.
@alexandrugd5218
3 жыл бұрын
The best water shader video for urp I've ever seen, love it. Keep up the good work
@BinaryLunar
3 жыл бұрын
Kind of you.
@kadagaden
10 ай бұрын
If your depth texture and/or foams are not working in play mode while they are working in the editor scene view, make sure to enable Opaque and Depth Texture in the main camera settings. If still not working, check the URP Renderer Data settings -> Rendering -> Depth Priming mode should be "Auto' or 'Forced'. It was 'Disabled' by default for me, so the Depth and Foam stuff were not working in Play mode while they were working in the Editor.
@obanxMolly1991
9 ай бұрын
This fixed everything for me,thank you!!
@TheDevinhanson
2 ай бұрын
This fixed mine, with one additional tweak: your camera has to be in perspective mode. It does not work in orthographic.
@katchup8417
3 жыл бұрын
Thanks ! that's really what i had been searching for
@adriangonzalezjimenez3681
Жыл бұрын
One issue solution: If you follow everything rigth to 5:15 and the plane is not foggy despite you selected the surface type to be 'transparent' in the shader graph, you need to set again the surface type to transparent, but in the inspector, selecting the material
@lflxko3912
Жыл бұрын
How do I find the material transparency option? When I click surface drop down arrow when material is selected in inspector, it has no drop down options showing?
@199jaw
Жыл бұрын
@@lflxko3912 After messing around I found that it is actually the WaterDepth paramater that is too high. I had to set mine to like 0.2 for it to work properly
@user-ug6hh4qg3n
Жыл бұрын
For me, I had to press "Save asset" for the thing to update and apply
@LegendJ0e4
9 ай бұрын
my water is all black, it was foggy before, now it's all black... I'm at 5:55
@ilhameffendi2737
6 ай бұрын
still relevant after 3 years. thank you!
@BinaryLunar
6 ай бұрын
You are most welcome
@gaelschlupp9963
3 жыл бұрын
Thank you for your tutorial. Not only is the tutorial easy to follow and cut to relevant steps but you managed to give a broad sense of how to organize and build shader :)
@BinaryLunar
3 жыл бұрын
You welcome!
@monkeysaur4305
3 жыл бұрын
I actually requested a video on this in the comments of a previous video, so thank you very much for doing this! Really appreciate your tutorials they are great and I am learning a lot from them. :-)
@BinaryLunar
3 жыл бұрын
You welcome, we glad it was useful.
@akoryou1488
2 ай бұрын
Great Video!! For any of you who had a reflextion problem, I am using unity 2021.3.27f1 create a new camera(or alternate in your main camera) under Rendering->Opaque Texture turn it ON, and also Depth Texture Then it show work in ur game view
@sparky1377
3 жыл бұрын
can you make a stylized grass tutorial ?
@sajugs8697
3 жыл бұрын
Thanks for the tutorial! It's not often a Unity tutorial on KZitem works perfectly without any problems :)
@vivianmenard
4 ай бұрын
Very good tutorial ! To have a better result, you can connect the new screen position (calculated for the refraction) to the sceneDepth node so that the depth map (and all the effects computed from it) will be deformed the same way as the image :)
@Krechevskoy
3 жыл бұрын
For the life of me I cannot figure out how you don't have more subscribers. These are some of the finest tutorials on the internet.
@Ecan_Au
3 жыл бұрын
Absolutely love it, mint tutorial
@BinaryLunar
3 жыл бұрын
Glad you enjoyed it
@gotnixmedi8461
Жыл бұрын
This was always explained in a very comprehensible way. Thank you for the time you have invested.
@DeadpoolMr
3 жыл бұрын
Hello, when I'm connecting Lerp, Scene color, and split to another lerp, my lerp material doesn't become blue as yours and stays black, after that there is no transparency in water, did anybody stumble upon that and know how to fix it?
@BinaryLunar
3 жыл бұрын
Make sure that enable depth and opaque textures on the renderer 2:20.
@mencowsky
2 жыл бұрын
@@BinaryLunar i still have this problem and it seems to dont want to go away. My cube stay grey all the time but i've did everything in the video
@francescagreetham1804
2 жыл бұрын
@@BinaryLunar Thank you! I missed this part and it went from a blue blob to working instantly. The relief!
@brianmcalpine822
2 жыл бұрын
@@mencowsky I had to switch the A & B around on the last lerp
@MattSayer1080
2 жыл бұрын
Excellent tutorial. Thank you so much!
@BinaryLunar
2 жыл бұрын
You welcome!
@infinityvy
4 ай бұрын
in case anyone is also having issues with the depth not working: for me the issue was that i had orthographic camera enabled. in hindsight makes a lot of sense since it kinda takes the depth away but took me a while to figure that out
@OHSWZ-jj8qd
2 жыл бұрын
Great tutorial, I can't find a tutorial related to some platforms in China but your video helped me
@jonytitan3467
3 жыл бұрын
Adoro tu canal bro. Me encanta tu contenido y tus explicaciones sublime 🤩
@ducky4303
2 жыл бұрын
such a good vid, perfect use of sub shaders and organised grouping
@BinaryLunar
Жыл бұрын
Thanks!
@alonshini
2 жыл бұрын
Great work man - clear and comprehensive, thank you
@BinaryLunar
Жыл бұрын
Kind of you!
@huytruong2636
2 жыл бұрын
Your tutorial is amazing , thanks much
@BinaryLunar
Жыл бұрын
you are most welcome!
@schnerror
3 жыл бұрын
Well and with focus explained, tyvm
@dokhtaroneh
3 жыл бұрын
There is a problem in this shader. Look at the edge of the purple rocks in the water. They blended with the water behind them. It should not happen.
@EverlastingFaeVODs
3 жыл бұрын
What would be your solution?
@SuperDianaka
3 жыл бұрын
@@EverlastingFaeVODs I am looking for an answer as well.
@AmgedAlfakih
3 жыл бұрын
try to put the value to the minimum
@tariqr9737
3 жыл бұрын
kzitem.info/news/bejne/pX97maWcfHmJn20 this link would be the answer
@jamesskyhigh946
Жыл бұрын
This is working and 100%error-free if u closely follow the tutorial, thank u so much❤
@BinaryLunar
Жыл бұрын
You are most welcome
@ikizlerlebirgun7119
2 жыл бұрын
Definitely what i need! Thank you man!
@BinaryLunar
2 жыл бұрын
You welcome ^^
@antoniomagic6
3 жыл бұрын
Fantastic tutorial! 10/10
@alphatachi
2 жыл бұрын
Incredible tutorial!
@BinaryLunar
Жыл бұрын
Thanks!
@shabadava62
Жыл бұрын
No matter what i do, the foam spread across all the water or none of it (o can't achieve the foam overlaping look in objects). Any idea why?
@mattgreen753
2 жыл бұрын
Thank you for the awesome tutorial!
@BinaryLunar
2 жыл бұрын
You welcome!
@pchris
3 жыл бұрын
set playback speed to 1.5 and this tutorial is amazing! It covers so many techniques I was looking for to make my water look much much better!
@guimosoft4753
2 жыл бұрын
Really Nice!!! Its beautiful
@BinaryLunar
Жыл бұрын
You are most welcome!
@RausanSinha
3 жыл бұрын
Amazing tutorial with explanation!
@BinaryLunar
3 жыл бұрын
Thanks!
@Auliszek
3 жыл бұрын
Thanks for the awesome tutorial! Did any of you guys have this issue: the higher refraction scale you set, the more pixel-ish the water gets? It looks decent in the areas near to the camera, but from a distance it looks like a huge pile of pixels - no idea how to fix that :)
@spicedruid
3 жыл бұрын
I have the same problem too. I think its because the further away you are from the water the less pixels there are to refract, so i guess turning refraction off at a range where you cant notice it would be a good idea
@marianmarian8882
4 ай бұрын
its because of the noise texture that dont get scaled when in distance, the fix is to use a made water texture and make sure to have mip maps enabled the best looking for water is voronoi textures
@aresanstudio8335
3 жыл бұрын
Thanks for sharing 👌
@BinaryLunar
3 жыл бұрын
You welcome!
@thelittlemob
2 жыл бұрын
Thanks for this tutorial
@BinaryLunar
2 жыл бұрын
You welcome!
@poweredbygeeko
2 жыл бұрын
awesome tutorial! thanks!!
@frodox10
3 жыл бұрын
Great video mate, really useful thank you!!
@BinaryLunar
Жыл бұрын
Your welcome!
@connieduartepetti
3 жыл бұрын
this was awesome! thank you, just what I needed! c:
@BinaryLunar
3 жыл бұрын
You welcome!
@xingorro8605
3 жыл бұрын
I failed few times, but finally all working.
@BinaryLunar
3 жыл бұрын
Congrats!
@captain_fact
3 жыл бұрын
Nice vid it actually works🔥🔥
@BinaryLunar
3 жыл бұрын
You welcome!
@djcoll123
3 жыл бұрын
Nice tutorial this works in Amplifer
@BinaryLunar
3 жыл бұрын
yeah same concepts can be applied.
@djcoll123
3 жыл бұрын
@@BinaryLunar but in unity 2017 shows that water in white .c in 2018 and that one you showed in video works fine
@djcoll123
3 жыл бұрын
@@BinaryLunar ok i solve that problem by self i had an light that have no shadows enabled didnt know that i needed to prevent that water shows white
@TestKimochi
3 жыл бұрын
Nice video!
@ezzadesa
3 жыл бұрын
Thank you so much for this tutorial!
@BinaryLunar
3 жыл бұрын
You welcome!
@polyforge3d
4 ай бұрын
Hmmm, I followed all the steps, but I get fully transparent water with refraction but no color and the foam also is not showing up...
@naxo175_
2 жыл бұрын
3:47 I have not the Vector1. I'm using Unity 2021.1.12f1. However this looks amazing :)
@BinaryLunar
2 жыл бұрын
Vector 1 changed into float in Unity 2020.
@while.coyote
2 жыл бұрын
Great one, thanks!
@vitolist8161
3 жыл бұрын
Thanks, helped a lot
@BinaryLunar
3 жыл бұрын
You welcome!
@merion297
2 жыл бұрын
There's no refraction. Refraction is (can be reproduce even if faked as) a non-linear contraction of underwater bodies. Ripples are also based on refraction but ripples don't make refraction. Just fill a bucket with water, and (avoding ripples) submerge your hand into it, then look at it from sideways and from above, you'll see the contraction. That's refraction.
@omerguleryuz1115
6 күн бұрын
Perfect
@vizualwanderer
3 жыл бұрын
Do you think this logic would work on 2D, with few changes? currently I'm just using animated tiles this looks amazing!!
@Gorushkaa
6 ай бұрын
Please let me know how you managed to get this shader to work with a 2d sprite?
@Gregasaurus
3 жыл бұрын
nice one! great tutorial.
@BinaryLunar
3 жыл бұрын
Thanks!
@danamuise4117
2 жыл бұрын
wow, so much has changed in shader graph since this was made. I followed the instructions several times and it doesn't look like this
@BinaryLunar
2 жыл бұрын
Yup , there is a newer video which we released.
@ChernobylComedyAndWings
3 жыл бұрын
i was a little confused because my depth was not working right off the bat, but then i just lowered the scale from 10. make sure you all adjust everything to 0-100 to see what is working where. good video but the very end you make it hard to see what youre doing.
@benayamanuel
3 жыл бұрын
Can you make the 2D version of this ? This just simply amazing
@NathoSteveo
3 жыл бұрын
Great tutorial :)
@BinaryLunar
3 жыл бұрын
Thanks /
@ohnedich9960
Жыл бұрын
Any idea on how to refract the objects that are only in the water and not outside of it? I'm getting refractions on my hand held objects. Thanks!
@da_drood-digitalart
6 ай бұрын
Have you found a solution yet? :O
@onlyace8279
9 ай бұрын
my refraction doesnt work, any suggestion?
@poly.morphine
5 ай бұрын
Same here, did you find a solution?
@CMS-th9oe
10 ай бұрын
Hi, I experienced the same problem with @ANJ_gaming, which is that the refraction not working after finishing the refraction block. The water with both the colors' alpha decreased still has a grey base color, therefore not really transparent. And then I tried connecting the splitted alpha channel to the alpha of the unlit output and it still does not work. Any help on this please?
@intingido9751
8 ай бұрын
If you go on your water GameObject inside the editor hierarchy and you go down to your material, the color's transperancy setting is probably maxed out
@Yogs01180
Жыл бұрын
Thanks ! But it took me a while and several times that I repeated the tutorial to get it working 😅 Sometimes you go too fast !
@Astralklinge
Жыл бұрын
Good looking Shader but the Tutorial is way to fast for me and you haven't explained it well
@user-fv6vl8ho5s
3 жыл бұрын
Thank you very much. very pro and very good
@tommywilkinson33
2 жыл бұрын
In HDRP the foam effect doesn't work. Not sure what nodes to use to get the edge effects like in this one.
@dertobbe1176
10 ай бұрын
Awesome
@ken880715
Жыл бұрын
Thank you very much!
@BinaryLunar
Жыл бұрын
You are most welcome 😊
@Thiago-hu2om
3 жыл бұрын
wow, very fineeeeee
@Dhieen
3 жыл бұрын
the foam doesnt work for me i dont even know why...
@captain_fact
3 жыл бұрын
Try changing the alpha of your foam color. Mine wasn't working at first then when I changed it it worked
@FlyRetroGamer
3 жыл бұрын
We don't only make water. We can also learn how to make fog
@FlyRetroGamer
3 жыл бұрын
I have a problem, it may be from my GPU cause it's an intel one. But I know it's working cause i made every step correct and verify. I did also read other comments for help but i still think is my GPU
@FlyRetroGamer
3 жыл бұрын
Nvm the water was to big XD
@kleberferrazzo6791
3 жыл бұрын
Fantastic
@BinaryLunar
3 жыл бұрын
Thanks
@user-vk2yc4dy2e
3 жыл бұрын
That's great
@BinaryLunar
3 жыл бұрын
Thanks!
@TODL316
2 жыл бұрын
I can't follow the tutorial because unity is so different now almost every name for something has changed >:(
@BinaryLunar
2 жыл бұрын
Check the new tutorial kzitem.info/news/bejne/kq-b3KR5enOQpYo
@Only4GamersXyz
3 жыл бұрын
Great Tutorial 👍. Please create another tutorial on making water with waves and reflections. Or how to create water similar like Explained in Unity URP tutorial video (Used in Boat Attack Demo). Thanks 🙂
@BinaryLunar
3 жыл бұрын
Thanks we can re-create that maybe next month.
@deanfuest4129
3 жыл бұрын
Great shader and tutorial! Any chance you can explain how to get rid of the camera clipping effect that occurs as the camera gets close to the edge of the water?
@shiv-iwnl8188
2 жыл бұрын
Great tut, but I have a problem with the refraction on surfaces like planes that are single sided, how could I fix it?
@mromeo72
3 жыл бұрын
Looks great but it seems like there's a giant invisible plane above me casting a shadow when I get close to the water
@Life-yy9cl
3 жыл бұрын
same here, were you able to find a fix?
@mromeo72
3 жыл бұрын
@@Life-yy9clSetting the mesh renderer -> cast shadows -> Off worked for me
@electrocreative4303
3 жыл бұрын
Thanks a lot
@davidffortesmeireles5328
2 жыл бұрын
great
@BinaryLunar
2 жыл бұрын
Thanks!
@inteletronx3564
Жыл бұрын
Thanks. Looks Great! Now, can we swim in the water and see the shader of water intact while diving into it?
@growguru2020
4 ай бұрын
wow really nice! can you show pls how to make this water shader works with interactive objects?! like...your player walk into the water...or swimming objects on it
@michaelkaler3138
3 жыл бұрын
Great Video! I keep getting a shadow (best I can describe it) when my camera is close to the water. If I zoom out it goes away and I can see it grow as I get closer. Any idea what I missed in the process to revisit?
@777cube777
3 жыл бұрын
It's because you have "cast shadows" turned on on the mesh with the water material It fades when you zoom out because on your urp setting the "Max Distance" for the shadows is set to 50 (so it just stop rendering them)
@michaelkaler3138
3 жыл бұрын
@@777cube777 Thank you so much! So much to learn.
@marcosrodriguez7858
2 жыл бұрын
Thank you!!!!
@BinaryLunar
2 жыл бұрын
You're welcome!
@galamotshaku
3 жыл бұрын
For some reason my foam is only showing in the scene view but not in game mode.
@baulator
3 жыл бұрын
All seems to be working until 5:10. My "Water" object isn't transparent at all. Does anyone have an Idea why? I did everything until this point like it is shown in the Video (apart from the Assets). Do I have to enable something on the objects that should be visible through the Water?
@BioHazardAlBatros
3 жыл бұрын
Enable DEPTH and OPAQUE textures in rendering camera's properties. It should be visible when u launch test
@baulator
3 жыл бұрын
@@BioHazardAlBatros Thanks. The problem was that I forgot to save the shader asset.
@BioHazardAlBatros
3 жыл бұрын
@@baulator lol
@RoseWoodKitty
3 жыл бұрын
I loved this tutorial but im having this weird issue where in the game camera the foam still takes up the whole of the object its on, ive tried to no avail on fixing the issue and was wondering if anyone may have had a similar issue?
@Slort_
Жыл бұрын
I also had this problem, I fixed it by taking the Add node after the Step and Split in the foam section and replaced it with multiply.
@user-yh1vh6ty7g
2 жыл бұрын
Can you make this tutorial by the new shader graph version (Unity 2020) ? plz
@BinaryLunar
Жыл бұрын
kzitem.info/news/bejne/kq-b3KR5enOQpYo
@user-nq5ot4uy5q
3 жыл бұрын
According to the video 10:26,I changed the ShallowWater alpha and DeepWater alpha but it didn't become transparent,still like blue fog,I don't even know why,could you please help me fix it?thank you!
@mr.ndreson3759
3 жыл бұрын
same problem, cant figure it out why
@mr.ndreson3759
3 жыл бұрын
Okay, I got it, at the beginning he says go to edit and project settings then to graphics, click on the urp thing and then check those two things in the inspector
@tekniko8213
3 жыл бұрын
Foam and some of the depth doesn't work with orthographic camera.
@maistrogaming7911
3 жыл бұрын
Ma man
@Dhieen
3 жыл бұрын
Im not a big fan of the depth created by the camera, its strange to see through only when the camera is close... no?except than that i learnt alot
@carlholmberg1853
3 жыл бұрын
How does one begin to Change this distance, I would like to make it so that I can see it further away
@user-yt5mn9gn2e
20 күн бұрын
Thank you for your Best tutorial. I can see the form in scene view, but not in game view. What could be the reason?
@RausanSinha
3 жыл бұрын
How can i add reflection to the surface of water?
@BinaryLunar
3 жыл бұрын
we might do new water shader with reflection during this year.
@ANJ_gaming
Жыл бұрын
Everything worked for me up until 10:04 . After adding the refraction+movement and lerping it into the water color and saving the asset nothing changed, no movement. However I read there is an updated video so I'll try to find that.
@carolinkohn4833
11 ай бұрын
found it yet? same problem!
@ANJ_gaming
11 ай бұрын
@@carolinkohn4833 unfortunately no, I just abandoned this one and took what I could out of it.
@CMS-th9oe
10 ай бұрын
same problem, any luck getting it working now?
@ANJ_gaming
10 ай бұрын
@@CMS-th9oe Unfortunately not, I just shifted away from this tut for the time being, sorry!
@Piiietsch
10 ай бұрын
I found the solution, some people said it here in the comments: There is a setting in the universal render pipeline asset that you have to turn on to make the movement work in URP
@andresca1985
2 жыл бұрын
refraction no works in 2021 URP
@Clovelt
2 жыл бұрын
can confirm, refraction does not work. 2020.3.24
@spideyman1909
3 жыл бұрын
the foam nor the moving water ripples work for me and I followed step by step can someone help?
@topusku
3 жыл бұрын
Hmm, for some reason I can't seem to find the "Unlit Graph" option. It seems like the only options I can use are either a Blank Shader Graph or a Sub Graph.
@MaximumLowBlow
2 жыл бұрын
Did you ever find a solution for this? I'm stuck on this now
@brianmcalpine822
2 жыл бұрын
@@MaximumLowBlow Using URP?
@drake_eric9799
Ай бұрын
cant see the water in far only shadow i see , but i see water if I'm near in water what is my wrong?
@dairrizzle9715
3 жыл бұрын
Am having some problems the depthfade node in the stylize water part doesn`t have the distance point to it
@rorschacht8478
3 жыл бұрын
You need to save the DepthsFade shader before it can take an input in the main shader. Click on "save asset" in the top left corner of the shader editor window.
@dairrizzle9715
3 жыл бұрын
@@rorschacht8478 thanks man got it working now, kinda of a stupid mistake on my part, thanks 👍
@rorschacht8478
3 жыл бұрын
@@dairrizzle9715 Glad I could help.
@cheftechnique
5 ай бұрын
@@rorschacht8478Thank YOU! One little thing can really get you stumped this saved me!
@rorschacht8478
5 ай бұрын
@@cheftechnique 👍👍
@mkaram4893
29 күн бұрын
How come nothing is connected to the Alpha channel on the shader node and the water is still transparent? :D
Пікірлер: 312