Coder Social home page Coder Social logo

Comments (5)

rohan-deshpande avatar rohan-deshpande commented on July 27, 2024 1

@davidpox This has now been merged, you should be able to try it out in develop just like you were before. Please let me know how it goes.

from three-nebula.

davidpuetter avatar davidpuetter commented on July 27, 2024 1

Thanks, currently on other projects but will test this Friday the latest!

from three-nebula.

davidpuetter avatar davidpuetter commented on July 27, 2024 1

Can confirm this issue has been fixed! Thank you so much!
3aK9PDxF

from three-nebula.

rohan-deshpande avatar rohan-deshpande commented on July 27, 2024

@davidpox I have played around a bit in a branch you can see here #92. In this branch, I've set up a new sandbox (which you can run via npm run sandbox) called gpu-renderer-depth-sorting. Here I set up a simple test case of rendering a box mesh with a particle system. Using the SpriteRenderer the scene looks like this:

Screen Shot 2020-03-29 at 11 39 33 am

The current implementation, the one you are using, the scene looks like this:

Screen Shot 2020-03-29 at 11 40 56 am

At the moment I'm a bit surprised at how easy the solution has been. I've simply changed the ShaderMaterial props to

  depthTest: true,
  depthWrite: false,

Here is the result

Screen Shot 2020-03-29 at 11 44 36 am

So I think this might help.

from three-nebula.

rohan-deshpande avatar rohan-deshpande commented on July 27, 2024

Resolved by #92

from three-nebula.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.