...
- Create a simulation with two fluids or emitters – there is nothing special you have to consider, but the particles should mix at some point in time.
- Add a "Mesher", go to → Mesher > Channels, and enable the "Weight" option.
- Choose, whether the weight vertex maps should be created from the fluids or the emittersfrom "Fluids" or "Emitters".
- If you have two (or more) fluids then both containers have to be meshed together!
- Create the mesh as usual.
...
- Create two materials and decide which one should be the base and top colour.
- Apply the base material first, then the top colour.
- Open the top colour and create an "Alpha" channel. Add Alpha > Texture > Effects > Vertex Map, and click on the white thumbnail.
- Drag one of the weight vertex maps to the empty slot.
...
Adjusting the
...
Weight Maps
Render an image to see the effect – a preview is not possible. If the result does not meet your expectations increase or decrease Mesh > Channels > Weight > Min and Max values, and change "Smoothing Scale Length" to blur the vertex maps.
...