Magnus Norddahl
770c676ac9
- add gl_dither for toggling dithered output on and off
...
# Conflicts:
# src/gl/renderer/gl_postprocess.cpp
# src/gl/renderer/gl_stereo3d.cpp
# src/hwrenderer/postprocessing/hw_presentshader.h
2018-10-09 21:57:14 +02:00
Rachael Alexanderson
5d7411dd56
- change 'halfstep' in the dither shader to a #define
2018-10-09 13:23:22 +02:00
Rachael Alexanderson
c784411b13
- expand the dither matrix from 4x4 to 8x8
2018-10-09 13:23:21 +02:00
Rachael Alexanderson
d5f71ad3ce
- further math tweaks
2018-10-09 13:23:07 +02:00
Rachael Alexanderson
213b33de16
- fix up a bit of math on the dither shader
2018-10-09 13:22:54 +02:00
Magnus Norddahl
60ae0915b9
- add dithering to present shader
2018-10-09 13:22:31 +02:00
Rachael Alexanderson
b4915d624d
- removed 'cooling' component of the shader since it technically wasn't really functional (guess we have to use a separate shader to do that)
...
- changed the math to use the 'mix' formula
2017-07-02 16:59:15 -04:00
Rachael Alexanderson
0d8b7c55ef
- added a grayscale formula selector
2017-07-02 16:45:06 -04:00
Rachael Alexanderson
bd02893ce7
- expanded hard limits for saturation to -15.0/15.0
...
- added menu option for saturation
- tried to get the new saturation shader to consume less GPU power by turning it off when it is 1.0
2017-07-02 16:45:06 -04:00
Rachael Alexanderson
63da6e70c0
- added a vid_saturation control - works in postprocessing, only.
2017-07-02 16:45:06 -04:00
raa-eruanna
2339b18b01
Quick fix: prevents negative values being passed to pow.
2016-09-22 09:23:26 +02:00
raa-eruanna
72491049e0
Changes to the contrast/brightness/gamma formula for both hardware and shader gamma correction. Mainly makes a correction with the shader version where contrast/brightness being negative values would clip them inappropriately.
2016-09-22 09:23:25 +02:00
Magnus Norddahl
a8d1197ea7
Make sure we never pass a negative value to pow, and optimize gamma uniform
2016-08-16 00:01:18 +02:00
Magnus Norddahl
5849c83028
Added bloom and tonemap to menus
...
Added gl_renderbuffers CVAR that disables render buffers
Added patch shader support to FShaderProgram
Added OpenGL 2 fallback support to render buffers
2016-07-29 21:31:20 +02:00
Magnus Norddahl
aeb7df09de
Added hardware gamma option and improved window handling on Windows
2016-07-27 11:15:19 +02:00