Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Fluid not rendering in Android
#2
(24-10-2018, 04:08 PM)george_playbite Wrote: Hello,

I ran the FluidMill sample on my Android and understandably the performance was not great. I duplicated the scene and change the camera's Fluid Renderer to a Simple Fluid Renderer with the SimpleFluid materialĀ and changed the Obi Particle Renderer's shader to Obi/Fluid/Simple2DFluid.

This renders fine in the editor when I hit Play, but running directly on Android, the fluid is invisible (still affects the mill).

Can you point me towards how to fix this?

Thanks,
George

Hi George,

Use "SimpleParticleShader.shader" in the ObiParticleRenderer instead. Also, note the SimpleFluidRenderer only works for 2D fluid as it does not perform depth testing. If you need a full 3D renderer for mobile, you can either add depth testing to the simple pipeline, or downscale the fluid buffers in the regular pipeline.

cheers,
Reply


Messages In This Thread
RE: Fluid not rendering in Android - by josemendez - 24-10-2018, 05:24 PM