You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not obvious from the result but the GPU particle example doesn't use alpha for the render fbo so you can't layer on top of other stuff. Simply change this line to GL_RGBA32F should be enough
(I personally prefer to use alpha channel on ping pong fbos as well so you can pass other attributes such as particle age - but maybe this is a stretch for this example)
The text was updated successfully, but these errors were encountered:
It's not obvious from the result but the GPU particle example doesn't use alpha for the render fbo so you can't layer on top of other stuff. Simply change this line to
GL_RGBA32F
should be enoughhttps://github.com/openframeworks/openFrameworks/blob/master/examples/gl/gpuParticleSystemExample/src/ofApp.cpp#L74
(I personally prefer to use alpha channel on ping pong fbos as well so you can pass other attributes such as particle age - but maybe this is a stretch for this example)
The text was updated successfully, but these errors were encountered: