mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-03 12:16:39 +00:00
Don't discard zero alpha fog block fragments. Fixes #198.
This commit is contained in:
parent
1f2697050b
commit
6fd250117a
1 changed files with 1 additions and 1 deletions
|
|
@ -1535,7 +1535,7 @@ EXPORT void HWRAPI(SetBlend) (FBITFIELD PolyFlags)
|
|||
// Sryder: Fog
|
||||
// multiplies input colour by input alpha, and destination colour by input colour, then adds them
|
||||
pglBlendFunc(GL_SRC_ALPHA, GL_SRC_COLOR);
|
||||
pglAlphaFunc(GL_NOTEQUAL, 0.0f);
|
||||
pglAlphaFunc(GL_ALWAYS, 0.0f); // Don't discard zero alpha fragments
|
||||
break;
|
||||
default : // must be 0, otherwise it's an error
|
||||
// No blending
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue