Building a Dynamic Water Shader with Campo Santo
Events
Subscribe:  iCal  |  Google Calendar
7, Mar — 12, Jun
Breda NL   23, Apr — 26, Apr
24, Apr — 27, Apr
Vilnius LT   3, May — 5, May
Los Angeles US   10, May — 11, May
Latest comments
by Cgiles
6 hours ago

Alt click on a node connection automatically disconnect it from the other nodes. And there is some nodes which can be easily summoned by pressing a key and clicking at the same time. Like B+click will place a branch, and S+click a sequence.

by manictaylorj@gmail.com
11 hours ago

If you're willing to compile it, Aseprite is a great option as well.

by tharlevfx
23 hours ago

check my website for the latest tips - always updating with new content!

Building a Dynamic Water Shader with Campo Santo
19 March, 2018
News

Matt Wilde, an artist at Campo Santo has recently published a nice article on the way the team has worked on the announcement trailer of ‘In the Valley of Gods’. The thing is that Matt discussed the production of a scene that didn’t actually make it to the final cut: a scene with Zora and Rashida breaking through an ancient flooded passageway. The scene would feature a nice-looking water, which would react to the motion of the characters and surrounding geometry.

The team’s graphics programmer Pete Demoreuille generated a GPU-based simulation using a “shallow-water” approximation. The simulation accounts for the water’s depth and computes its horizontal velocity along with height. In the end, the artists got a number of dynamic textures which are fed into the shader for the water surface’s height, normal, velocity, and distance from a blocking object. 

Here is a small piece of the article to get you interested:

image

With these at my disposal, I set about making an actual shader, starting with a simple flow mapping texture—the flowing determined by the simulation. The output is brightened depending on factors like surface normal and velocity. The below was captured right out of the Unity editor and was immediately fun to play with. Imagine the capsule is a rubber duck, like I did. For about a week.

image

I gradually built this into a more watery-looking shader with the addition of normal mapping, depth-based transparency, caustic lighting effects, and probably some other things.

Matt Wilde 

Make sure to study the full article here

Leave a Reply

Be the First to Comment!

avatar
wpDiscuz