- Home /
Can anybody suggest how to create an oil-and-soap effect?
I'm looking to create an effect in Unity similar to this. I could do something vaguely similar in Blender fairly easily, but I need to be able to do this in realtime... any suggestions? I've tried using Unity's particle system for this, but can't find something that will create the correct intermixing quality... More than happy to do a little shader coding if you can point me in the right direction.
Thank you in advance! =D
$$anonymous$$aybe I could do something like this, but put two distinct mixing colours into the diffuse? The problem is that the looping nature of the effect is likely to become very obvious - this will be front and centre for a long period of time, and even if I distort the model dynamically in an attempt to randomise the visuals further, the effect is likely to become evident. I guess I could make the texture HUGE and UV scroll it, but I'm afraid folks are likely to twig to that.
...$$anonymous$$aybe it would be possible to record a simulation from Blender as a movie file and just play it with the water flow & UV scrolling...? Do multiples of these on cards, fade them in and out over each other?
I guess I'll start experimenting tomorrow...
Your answer
![](https://koobas.hobune.stream/wayback/20220612193850im_/https://answers.unity.com/themes/thub/images/avi.jpg)