05-05-2020, 09:03 AM
(05-05-2020, 08:51 AM)josemendez Wrote: Hi,
Just checked our git history, the shader is also there in 5.1, it hasn't been removed/moved/renamed/replaced or anything (the SimpleFluid scene wouldn't work at all otherwise). The resources and samples are exactly the same as the ones provided in 5.2 and 5.3. If you copy files around (which should not be necessary) make sure the files included by the shader, in this case ObiParticles.cginc, are right beside it.
The simple renderer/shader is meant for 2D, it doesn't make use of a depth buffer so it won't intersect 3D objects correctly. From the manual:
I have sent you a video on your email to have a look about the particles. I have deleted include ObiParticles.cginc from the shader script and its fine.