Particle Candy Problem
Blitz3D Forums/Blitz3D Programming/Particle Candy Problem
| ||
I think this is more related to Blitz3D, but I'm sure there's a solution. Anyway, in my level I have a flat quad with an alpha level of 0.8 that represents the sea/rivers. Whenever I run a particle effect that is supposed to be 'in front' of this quad, it gets confused and is drawn BEHIND it. I know this is an alpha ordering problem, and I was able to solve it by moving the pivot point of the 'water' quad to a very low (negative) x value and a high z value (essentially offsetting all the verts). BUT (I like big buts and I cannot lie, you other brothers can't deny), with that issue solved another one came up. The order particles are being drawn is all wrong, possibly reversed. For example, in the defult CreateEmitter_Torch() you *should* see flames backed by smoke, but with the water quad offset the flames are BEHIND the smoke and cannot be seen properly (the smoke just blocks them out). Is there anything I can do? Can I easily offset the pivot point of the entire Particle candy system - might be worth a go? I've also tried adding the particle types to the emitters in different orders but to no avail. |