PolyToots | Oceans with Unity Shader Graph. @PolyToots | Uploaded July 2020 | Updated October 2024, 5 days ago.
In this one we us a texture based displacement map coupled with a normal map, both made in Blender (not shown) using the ocean modifier. Really simply stuff, but amazing results. We're also using refraction but not in the same way that everyone else is using it, so that's either good or bad.
● Support Links:
♥ Subscribe to learn more!: tinyurl.com/y7hdjg38
♥ Follow me on Patreon and get more stuff: patreon.com/polytoots
● Social Links:
♥ Twitter: twitter.com/PolyToots
● Rosie Jarvis' Walrus Cave:
sketchfab.com/3d-models/walrus-cave-691f94c653b242f1a172ba018b4e6318
● CodinBlack's refraction:
codinblack.com/glass-shader-using-shader-graph-in-unity3d
FAQ:
"Will this work in HDRP?"
Yeah
"Can you make objects float on the water?"
With a bit of code magic yes, look for "buoyancy" scripts.
"Can you do an underwater shader?"
This typically involves a post process and some code to switch lighting and fog volumes, it's not something that is only done with a surface shader.
Music:
"One-eyed Maestro" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/by/4.0
Timestamps:
0:00 Intro
1:20 Important Setup!
2:41 Refraction!
5:54 CodinBlack's Refraction
6:41 Depth Mask
11:21 Normal Maps and Panning.
16:35 Opposite Panning
19:57 Displacement
22:48 Colour
24:28 Why no object intersection.
25:00 Ending?
26:11 Message
26:39 Outro
In this one we us a texture based displacement map coupled with a normal map, both made in Blender (not shown) using the ocean modifier. Really simply stuff, but amazing results. We're also using refraction but not in the same way that everyone else is using it, so that's either good or bad.
● Support Links:
♥ Subscribe to learn more!: tinyurl.com/y7hdjg38
♥ Follow me on Patreon and get more stuff: patreon.com/polytoots
● Social Links:
♥ Twitter: twitter.com/PolyToots
● Rosie Jarvis' Walrus Cave:
sketchfab.com/3d-models/walrus-cave-691f94c653b242f1a172ba018b4e6318
● CodinBlack's refraction:
codinblack.com/glass-shader-using-shader-graph-in-unity3d
FAQ:
"Will this work in HDRP?"
Yeah
"Can you make objects float on the water?"
With a bit of code magic yes, look for "buoyancy" scripts.
"Can you do an underwater shader?"
This typically involves a post process and some code to switch lighting and fog volumes, it's not something that is only done with a surface shader.
Music:
"One-eyed Maestro" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/by/4.0
Timestamps:
0:00 Intro
1:20 Important Setup!
2:41 Refraction!
5:54 CodinBlack's Refraction
6:41 Depth Mask
11:21 Normal Maps and Panning.
16:35 Opposite Panning
19:57 Displacement
22:48 Colour
24:28 Why no object intersection.
25:00 Ending?
26:11 Message
26:39 Outro