Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Mobile beer + foam simulation
#6
(20-04-2020, 05:57 PM)Nyarlukhotep Wrote: Yes, we tried, ObiSimpleFluidRenderer really works much faster, as I wrote above, but does not give the desired result.

Can we add fluid transparency and foam generation when using ObiSimpleFluidRenderer?

Yes, but you'll have to implement it yourself. Both renderers are just built-in examples that cover both ends of the spectrum:

- ObiFluidRenderer: really detailed, high quality (but demanding)
- ObiSimpleFluidRenderer: basic, but fast

They both have a common rendering interface that you can implement for your own needs, similar to what Unity does with URP and HDRP. The simple fluid renderer only supports tinted refraction, nothing else. If you need to add transmission (which is what I think you mean by "transparency") and foam on top of it, you'll need to write your own hybrid renderer. See http://obi.virtualmethodstudio.com/tutor...ering.html for more info.
Reply


Messages In This Thread
Mobile beer + foam simulation - by Nyarlukhotep - 20-04-2020, 01:58 PM
RE: Mobile beer + foam simulation - by josemendez - 20-04-2020, 02:49 PM
RE: Mobile beer + foam simulation - by josemendez - 20-04-2020, 05:44 PM
RE: Mobile beer + foam simulation - by josemendez - 20-04-2020, 06:04 PM