Chaos Corona for Cinema 4D > [C4D] I need help!
Material below water make edges wet?
ShynnSup:
--- Quote from: davetwo on 2021-12-03, 17:54:15 ---No spheres needed! The parameter is driven by whatever you want. In your case the water plane.
Just open the distance shader and drag the geommetry into the field.
--- End quote ---
I am afraid that is not possible, my water plane covers the entire geometry, so it all gets one material. So basically, the distance is measuring the distance to an object that is almost itself...
TomG:
That will still work - the distance to is to specific points on the object surface, and you would just need to set how far that "distance" is, in this case very small values. Doesn't matter that the one water plane spans the whole geometry, each point on the land geo will measure distance to nearest point on water plane (also doesn't matter that it's all one material, the distance shader returns a unique distance for each point on the land geo).
EDIT - looks like you just need to edit the Near and Far values to account for the small range you want it to cover :)
davetwo:
Come now. Ya gotta believe man ;) if I can do it anyone can
See below...
ShynnSup:
Uff, Finally! Not sure why it wasn't working on my end!
Attached the example if anyone is interested.
Final result:
Thanks everyone!
TomG:
Glad you got it working, and it is looking real good!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version