supermedium/aframe-environment-component

`particle-system-component` does not work with a positive `fog` value

dsinni opened this issue · 3 comments

I'm not sure if this is more of an issue for aframe-environment-component or aframe-particle-system-component, but particles will not display if fog: 0 is not used.

Kind of a bummer to not be able to combine these effects.

feiss commented

yup you are right, it's a shame not being able to combine both, but i'm afraid it's a problem of the particle system that doesn't work with fog on. Read more on: IdeaSpaceVR/aframe-particle-system-component#26

not only will they not display but it causes a crash and all javascript stops working

could anyone explain how I can detect if fog is active? I have a hotkey that cycles environment presets and another hotkey to toggle particles on/off. I would like to detect if the current environment contains fog so I don't try to enable particles which causes a hard crash