Giter Club home page Giter Club logo

Comments (7)

liaocheng avatar liaocheng commented on August 12, 2024

Hi,
It's not a bug.For more information,please refer to
http://away3d.com/forum/viewthread/414/#1183
A way to solve it is not use transparent texture to the tree.

from away3d-particles-system.

David-Luis avatar David-Luis commented on August 12, 2024

Thanks liaocheng,

and using an alphaTresold in the particles would work?

from away3d-particles-system.

liaocheng avatar liaocheng commented on August 12, 2024

Particles has not the alphaTresold property.Maybe you can have a try to the tree.

from away3d-particles-system.

David-Luis avatar David-Luis commented on August 12, 2024

I tried that but it doesn't work.

Thanks anyway!

from away3d-particles-system.

liaocheng avatar liaocheng commented on August 12, 2024

David Lenaerts said
"It’s not exactly a bug per sé, it’s just a problem inherent to the way blending needs to happen.
For reference:
http://www.opengl.org/wiki/Transparency_Sorting
There’s not really a way to sort per-polygon without entirely loosing the advantage of using GPU in the first place. Try to either stick to using the “alpha test” mentioned in the article (accomplished in Away3D 4 using the alphaThreshold property), or stick to (near-)convex shapes.
If you look at real games, alpha blending is pretty rare - with the exception of planar objects (water, smoke particle and other effect billboards). --"

from away3d-particles-system.

David-Luis avatar David-Luis commented on August 12, 2024

Okey, I didn't know was alphaThreshold. I know now, and it's work perfectly. (I didn't disable alphaBlending, it is why i doesn't work before)

Thanks liaocheng, you always solve my problems XD

from away3d-particles-system.

liaocheng avatar liaocheng commented on August 12, 2024

Hi,
I'm writing a particles editor.Please pay attention to
http://liaocheng.github.com/

from away3d-particles-system.

Related Issues (14)

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.