29-04-2021, 05:38 AM
Hi there,
I've been trying to add a particle system (testing both VFX Graph and shuriken) alongside Obi Fluid, but the fluid always appears on top in the game display (scene and game view). I'm assuming that this is because the particle system doesn't write to the Z Buffer. I enabled Z Buffer writing for the VFX Graph and it did work properly, but the VFX Graph had transparency issues with itself (transparent boxes overlapping other particles that causes it to look really bad).
Do you have any ideas on how I could use a particle system near an Obi Fluid and have them interact properly? Aka the render order, z buffer, water displacement shader on the particles, etc. I would like to be able to see particles in front of the fluid, but also be able to see the particles displaced visually by the fluid if looking through it on the other side.
I've been trying to add a particle system (testing both VFX Graph and shuriken) alongside Obi Fluid, but the fluid always appears on top in the game display (scene and game view). I'm assuming that this is because the particle system doesn't write to the Z Buffer. I enabled Z Buffer writing for the VFX Graph and it did work properly, but the VFX Graph had transparency issues with itself (transparent boxes overlapping other particles that causes it to look really bad).
Do you have any ideas on how I could use a particle system near an Obi Fluid and have them interact properly? Aka the render order, z buffer, water displacement shader on the particles, etc. I would like to be able to see particles in front of the fluid, but also be able to see the particles displaced visually by the fluid if looking through it on the other side.