-
-
Notifications
You must be signed in to change notification settings - Fork 21k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0 Particles Shader: impossible to calculate current lifetime #11538
Comments
but i could be wrong tho. because now i've understood that CUSTOM vector is persistent during particle lifetime and could be updated with DELTA but it is not very intuitive solution, may be it would be better to add some variable that is [0..1] range and updates automagically. |
LIFETIME is the emitter parameter, not the time-of-life of the particle, is not too clear and not very useful (but INDEX is worse because it gets reset making harder to do complex effects). And yes, you can store deltas in CUSTOM (vec4), is limited but may be enough for most uses, I guess. |
yeah i understand what LIFETIME is, but using CUSTOM is a bit strange imo |
Somewhere since 3.0, Closing as resolved. |
i mean the value that increases over lifetime
for example it could be used to calculate color over lifetime using gradient texture
but there is no values that change themselves
LIFETIME just holds the lifetime max
The text was updated successfully, but these errors were encountered: