Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
White foam
#4
(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,
Reply


Messages In This Thread
White foam - by Kalidor - 19-09-2017, 03:25 PM
RE: White foam - by josemendez - 19-09-2017, 04:32 PM
RE: White foam - by corbinyo`` - 15-03-2018, 10:57 PM
RE: White foam - by josemendez - 16-03-2018, 09:29 AM
RE: White foam - by josemendez - 16-03-2018, 09:32 AM
RE: White foam - by homero - 09-08-2021, 06:19 PM
RE: White foam - by josemendez - 10-08-2021, 08:10 AM