particles improve

This commit is contained in:
Henrique Santiago
2011-12-09 03:44:44 -02:00
parent eb3ff0950a
commit a679f258ee
5 changed files with 74 additions and 34 deletions

View File

@@ -317,6 +317,9 @@ void Graphics::bindBlendFunc(Fw::BlendFunc blendType)
case Fw::BlendColorzing:
glBlendFunc(GL_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA);
break;
case Fw::BlendParticles:
glBlendFunc(GL_ONE_MINUS_SRC_ALPHA, GL_ONE);
break;
}
}