24-10-2018, 06:55 PM
(24-10-2018, 05:24 PM)josemendez Wrote: Use "SimpleParticleShader.shader" in the ObiParticleRenderer instead.
Hi jose, thanks for the response!
Changing the shader in the ObiParticleRenderer did not change anything, I imagine because I'm not really rendering the particles (Render property is false).
Quote: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.
Ok, I'm a bit confused because using the SimpleFluidRenderer in the editor makes the fluid still render in 3D space, though of course much more simple-looking than the regular fluid renderer. Am I misunderstanding? I changed the Solver's mode to 2D but it's still not rendering anything on the Android device (works in the editor).
I'm not really sure how to add depth testing to the simple pipeline nor how to downscale the buffers in the regular pipeline. Is there any guide for doing these things?
Really appreciate it!
George