16-03-2018, 09:29 AM
(15-03-2018, 10:57 PM)corbinyo`` Wrote: Could you give a more detailed instruction on how to do this?
I am trying many things in the both examples and can't get the color to be opaque white - Like milk...
Hi,
Simply use an opaque material for the ObiFluidRenderer.
Obi includes an aptly named "OpaqueFluid" material for this. Replace the default "ClearFluid" material with this one in the ObiFluidRenderer inspector and you're done.
You might also want to use FluidColorOpaque as your color blending material, but this only matters if you have multiple fluids of different colors.
cheers,