Comments (7)
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.
Thanks liaocheng,
and using an alphaTresold in the particles would work?
from away3d-particles-system.
Particles has not the alphaTresold property.Maybe you can have a try to the tree.
from away3d-particles-system.
I tried that but it doesn't work.
Thanks anyway!
from away3d-particles-system.
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.
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.
Hi,
I'm writing a particles editor.Please pay attention to
http://liaocheng.github.com/
from away3d-particles-system.
Related Issues (14)
- How I can make the Particles move freely? HOT 3
- TransformFollowContainer - wrong offset if offset AND rotation is used HOT 2
- Not working with the newest Away3D HOT 5
- rotate individual particles HOT 2
- No dispose functions, unable to destroy particle system HOT 1
- Particles disappeared after 180 rotation of camera and target in TransformFollowContainer HOT 2
- with away3d 4.1,I get this: HOT 5
- ParticlesContainer.Clone HOT 1
- change settings of actions after creation HOT 1
- Start and Stop Animation in only one ParticleContainer HOT 3
- Pause the particle generation HOT 4
- Since A3D4 Release - Register limit exceeded in TransformFollowContainer HOT 3
- Any script to build main.swf(s) in example/. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from away3d-particles-system.