[Softpoly] Original alpha settings for add blend modes

Moderators: Rachael, dpJudas

Locked
User avatar
Rachael
Developer
Developer
Posts: 3639
Joined: Sat May 13, 2006 10:30

[Softpoly] Original alpha settings for add blend modes

Post 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 2729 times
GZDoom
GZDoom
Screenshot_Doom_20161129_022537.png (106.05 KiB) Viewed 2729 times
dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

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

Post 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.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

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

Post 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);
dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

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

Post by dpJudas »

Thanks Graf - added this blend mode with a rule like that.
Locked

Return to “Closed Suggestions”