Feature request: reactive shaders to create seam effects like water edge at shore
pixelquack
Posts: 288
Say you have an actor standing in water up to the waist. If you apply a full wetness skin geoshell it will cover the entire body or if the product has it, segements.
But you will never quite catch the right angle. You'd want the figure to have wet skin only just a bit over the waterline.
Same issue: you have terrain textures, and where water starts they are dry even where they touch the waterline. Does not occur in nature.
Solution: primitive cube colliding with actor or object, telling the shader "let wet effect show here!"
(Illustration in next post.)
Comments
I can't use pasteboard.co here, bummer - please look at the attached images:
1. actor standing in water shin deep
2. added geoshell with wet effect that only shows the effect while immersed in an "activator primitive"
3. add the primitive, here a cube
4. result: figure wet skin only shows a bit above the waterline where the cube ends. cube itself becomes visible in render and can be set to opacity for arranging
What this would need to work is fading density in the cube, so it would have to have a gradient towards the top surface so the water effect has no hard stop but fades a bit, could possible be done with height maps? bump maps? Not sure yet how this could be done.
The big question is, can this be done in Daz at all?
Oh, and since I mentioned the shore in the title: same would work for a shader cast over the ground texture (or its geoshell) with a wet effect for the ground and then closely match a giant cube primitive over the water.
Interesting, thanks. I'll see if I get a comment on if this can be applied to arbitrary objects, too. I'd buy for sure.
Use a "Iray Decal Node". You can add a gradient texture to give the fadeout.
Note: In the "Iray decal node" parameters, change it to world or object coordinates, with a cubic projection. You can use "surface > Geometry > cutout" to control the effect.