OpenGL2: Reimplement soft overbright to avoid a framebuffer blit.
This commit is contained in:
1 parent
a7c5fc0ee7
commit
8c3ae8d7d2
8 files changed
+70
-79
No files matched your search
@@ -449,7 +449,7 @@ static void DrawSkySide( struct image_s *image, const int mins[2], const int max
|
||||
|
||||
color[0] =
|
||||
color[1] =
|
||||
color[2] = tr.identityLight * backEnd.refdef.colorScale;
|
||||
color[2] = (r_softOverbright->integer ? 1.0 : tr.identityLight) * backEnd.refdef.colorScale;
|
||||
color[3] = 1.0f;
|
||||
GLSL_SetUniformVec4(sp, UNIFORM_BASECOLOR, color);
|
||||
|
||||
|
||||
Reference in new issue
Block a user