Timeline for OpenGL ES 2 - Developing snowfall particle system
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 26, 2013 at 21:38 | comment | added | async | Why would I remove it from the array? I want to keep the particle and draw it back at the top! (after I accidentally hit Enter:) I thought about this approach. The only implementation I can think of was this: 1. create particles 2. update their position 3. if position is outside screen, reset to original position 4. pass the particle coordinates to the vertex shader Shouldn't I, however, try to move the computations above in the vertex shader rather than just pass the computed positions? /performance paranoia I can't think of any solution that relies more on the vertex shader. | |
| Sep 26, 2013 at 20:07 | history | answered | ashemez | CC BY-SA 3.0 |