Alchemist0823 / three.quarks

Three.quarks is a general purpose particle system / VFX engine for three.js
https://quarks.art
480 stars 22 forks source link

Issue forcing particle to render always on top of all scene objects #84

Closed johnnyrainbow closed 2 months ago

johnnyrainbow commented 2 months ago

I want my particle to render on top over all other objects in the scene. however setting depthTest false on the material is not making it render on top as i'd expect, is there another way I should be approaching this? Thanks again, this framework is amazing!

 new ParticleSystem({ 
 ...
  material: new MeshBasicMaterial({
                map: this.texture,
                blending: AdditiveBlending,
                transparent: true,
                side: DoubleSide,

                //Here
                depthTest: false, 

            }),
            }
Alchemist0823 commented 2 months ago

Thanks for your feedback I will add this option.

Alchemist0823 commented 2 months ago

included in 47856a7572995eda560e14cc618022f2e5698750

johnnyrainbow commented 2 months ago

Awesome thanks 👍🤩