“Puddle Shader” – wet ground shader

Another repost, early work done on a wet ground / puddle shader, part of  “AHS One”.

So last night after work I had an idea on how I might be able to build a very fast and inexpessive puddle / wet ground shader, so I spent a few hours knocking out the basics, tidyed it up just now and thought I would share the progress, I’m pretty happy so far, still a way to go yet though.


(I recommend you watch it 720p, looks way cleaner)

The video starts with dry normal ground, it is some free dirt texure I found online. The big blue ball grows to reveal the puddle shader applied to the same material.

The puddles are based off the parallax map, the shader assumes ‘low’ areas are full of water. In theory it works with any ‘ground texure’ with a parallax map. It’s pretty ‘analogue’ in that you can pass a value from 0 (no water) to 1 (completely covered in water) or anwhere in between, so it will support varying amounts of wetness or heaviness of rain.

I plan to pair this with a rain effect and fake rain drop distortion applied to the reflection.

3 thoughts on ““Puddle Shader” – wet ground shader

  1. My partner and I absolutely love your blog and find nearly all of your post’s to be just what I’m looking for. Would you offer guest writers to write content for yourself? I wouldn’t mind composing a post or elaborating on some of the subjects you write with regards to here. Again, awesome web log!

  2. I’m not sure exactly why but this website is loading extremely slow for me. Is anyone else having this issue or is it a problem on my end? I’ll check back later and see if the problem still exists.

Leave a Reply

Your email address will not be published.