OpenGL2: Reimplement soft overbright to avoid a framebuffer blit.
This commit is contained in:
parent
a7c5fc0ee7
commit
8c3ae8d7d2
8 changed files with 70 additions and 79 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue