Annoying 'bug' with particle and beams overlapping each other

making some pillars with beams to illuminate a cave (which emits dust particles for the ambience), except at certain camera angles they overlap each other


anyone knows how to fix this? i have no idea how

1 Like

This could be a case of z-fighting between the beams. Try changing the z-offsets of the overlapping beams to be different from each other

Edit: Just realised this is about a conflict between beams and particle emitters. You could try changing the z-offset for the particles to a larger value, but if that doesn’t work, you may need to experiment a bit with surfaceGUIs as their behaviour is a bit more predictable than beams and particle emitters. Maybe you could replace the particles with surfaceGUIs and experiment with z-offsets from there?

If distance is not a problem, then you could try setting the dust particle’s z-offset to something really high like (10-14).
I have two particles and two beams in this screenshot that overlap with eachother, the beam’s properties are normal except their size is like 15, but their z-offset is 0.

Now with the particles, I set their z offset at 15, and they appear on-top of the beams (this should also work if the beams are facing camera or not).
As long as you don’t care if your dust particles appear too close to the player, since having a high z-offset will lead to some particles disappearing the closer you get to them.

This also works in many angles (i’m currently using facingcamera for the beams)

1 Like

turns out this doesn’t have to do with particles, but simply the background: basically i had multiple parts with different transparency to look like a shadow, except because of that it broke the beams at certain angles (altough the issue is still here, its barely noticeable now)