Need a foam, froth, water scum shader for small commmercial project
As the title says, I'd be extremely grateful if anyone can create a shader that creates sea foam on water. Ideally it would only apply to the upward facing surfaces. I remember bagginsbill created a lovely looking shader over at Rendo but the link is broken and I can't reconstruct from just the screen shots. I DO want to use it in a small commercial product, but would happily give credit.
Do you intend to see what is under the water or not?
Do you intend to use FireFly, SuperFly, or both?
Also do you already have the waves in the water surface model geometry or is it flat?
If the answers are:
See under water: No (we then go without refraction and gain speed)
FF or SF: Both (we want shader to work generally well in both engines)
Have waves: Yes (I'm using Construct ground here with some morphs)
Then here ya go.
Previous screen shot showed the FireFly render. Here's the SuperFly render.
The cellular node is a little less random than it should be. It tends to reveal a grid-like pattern. Stuff like this is why I end up making much more complicated shaders.
But -- I'm tired of certain forum members referring to my shaders as overly complicated, spaghetti, gobbledigook, as if I added the complexity just to dazzle you because I have a ridiculous ego.
So - you're getting the version that Poser users seem to want, which is to say "good enough" but not mind blowing.
If you need better, come back.
Another problem is that no single Poser node can make proper ripples, which should be trochoids. At the right angle, these look bad. This is a mistake as I accidentally left the gain too high on the Fractal_Sum. You can lower the gain to .5.
But - more nodes can make this much better and get closer to the trochoid shape required.
The Flooded Road.
Not a politically correct shader at all, but I liked the outcome of the negative Bump on the Turbulence node for the water.
Made the water a little dirty With the green-blue-brown Blender in a small diffuse.
@bagginsbill Wow, mindblowing - thank you so much for the generous expansivenesss of your replies Baggins. And I can use this in a commercial product?
@vilters Thank you very much vilters. Not sure what you mean by politically correct, but very useful as well.
This post is deleted!
This post is deleted!
Sorry guys, I made a mistake in my last 2 posts.
SuperFly surface water can be a single Turbulence node in a negative Bump.
(I made a mistake is FireFly, but SuperFly is single node for surface water.)
I did not let the render finish as it is WAY past bed time here.
The same "Flooded road" setup.
Transparency at 0.33
Bump negative 1 + Turbulende node at x,y,z, 25
Testrender at 5 samples only.