IdeaSpaceVR / aframe-particle-system-component

Particle systems for A-Frame.
https://ideaspacevr.github.io/aframe-particle-system-component/
MIT License
232 stars 68 forks source link

particles are not visible behind transparent entity #54

Open vesper8 opened 4 years ago

vesper8 commented 4 years ago

Any idea what is causing this? I have a billboard set that looks like this:

        <a-entity
          id="billboard"
          geometry="primitive: plane; width: 4; height: 0.5"
          position="0 1.4 0"
          material="shader: html; target: .space-title-texture; transparent: true; ratio: width"
        />

It contains some text in the middle and the background itself is transparent. I can see the sky and the environment through the transparency but for some reason I cannot see the particles from this component. The particles are the only things that do not appear through the transparent entity

diarmidmackenzie commented 2 years ago

This is over a year old, so not sure this will be helpful, but in case others come across this, try adding "alphaTest: 0.5" to the material property.

https://stackoverflow.com/questions/43944346/a-frame-png-transparency

diarmidmackenzie commented 2 years ago

This is over a year old, so not sure this will be helpful, but in case others come across this, try adding "alphaTest: 0.5" to the material property.

https://stackoverflow.com/questions/43944346/a-frame-png-transparency