Another approach might be to use a gradient y for two different textures -
one for the normal water, one for the foam. Give them different normals and
blend them a little bit. That does not help for your problem if you just
want to add foam around the rocks. But you could "raise" the water around
the rocks a bit (with some formulas which multiplies those areas with
something like 1.2 f.e) - it might work.
Marc-Hendrik
Post a reply to this message
|