[Softpoly] Original alpha settings for add blend modes

Moderators: Rachael, dpJudas

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

[Softpoly] Original alpha settings for add blend modes

Post by Rachael » Tue Nov 29, 2016 8:27

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.
Screenshot_Doom_20161129_022535.png
QZDoom Softpoly
Screenshot_Doom_20161129_022535.png (97.2 KiB) Viewed 263 times
Screenshot_Doom_20161129_022537.png
GZDoom
Screenshot_Doom_20161129_022537.png (106.05 KiB) Viewed 263 times
Spoiler: Zen Sarcasm

dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

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

Post by dpJudas » Tue Nov 29, 2016 8:39

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 » Tue Nov 29, 2016 9:38

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 » Wed Nov 30, 2016 8:55

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

Locked

Return to “Closed Suggestions”