Page 1 of 1

[Softpoly] Original alpha settings for add blend modes

Posted: Tue Nov 29, 2016 8:27
by Rachael
I hate to critique your work, but the adjustments you made to the add blend mode are inconsistent with GZDoom. I did this with a local netgame.
QZDoom Softpoly
QZDoom Softpoly
Screenshot_Doom_20161129_022535.png (97.2 KiB) Viewed 7318 times
GZDoom
GZDoom
Screenshot_Doom_20161129_022537.png (106.05 KiB) Viewed 7318 times

Re: [Softpoly] Original alpha settings for add blend modes

Posted: Tue Nov 29, 2016 8:39
by dpJudas
That's because QZDoom emulates ZDoom's shitty blend modes, and not the better looking ones from GZDoom. :)

Edit: of course, we could switch the true color blending rules to those used by GZDoom. They look a lot better, although I'd have to then figure out exactly what they are. We could also switch the palette blending rules in the poly renderer.

Re: [Softpoly] Original alpha settings for add blend modes

Posted: Tue Nov 29, 2016 9:38
by Graf Zahl
The rule is actually quite simple:

If the blending mode is additive 1+1 with the fullbright flag set, use glBlendMode(GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR);

Re: [Softpoly] Original alpha settings for add blend modes

Posted: Wed Nov 30, 2016 8:55
by dpJudas
Thanks Graf - added this blend mode with a rule like that.