Commit graph

16 commits

Author SHA1 Message Date
Leon Styhre 63af859618 Modernized the OpenGL renderer and replaced most fixed function pipeline code with shaders.
Also greatly improved the shader post processing performance and added component dimming support.
2022-03-11 23:17:04 +01:00
Leon Styhre 8f6565b9f0 Code formatted the blur GLSL shaders. 2022-02-15 22:17:24 +01:00
Leon Styhre 5ac6bcb902 Added opacity support to the scanline shader. 2022-02-15 22:13:11 +01:00
Leon Styhre 69c1a1259d Added opacity support to the BGRA to RGBA shader. 2022-02-12 17:40:25 +01:00
Leon Styhre 0c552dd8fb Added a GLSL shader to convert the color model BGRA to RGBA.
Also added support for specifying a separate format as compared to internalFormat when creating textures, although the shader should be used primarily as this is not really supported by the OpenGL standard.
2022-01-07 18:54:52 +01:00
Leon Styhre d986fc7eaa Standardized the header section of the GLSL files and shell scripts. 2021-05-14 18:52:38 +02:00
Leon Styhre 01112408f6 Minor cosmetic GLSL shader code cleanup. 2021-05-14 15:22:14 +02:00
Leon Styhre fddf099a74 Cosmetic code cleanup of some GLSL shader code. 2021-05-14 15:12:53 +02:00
Leon Styhre 40e04bbf58 Updated some comments in the GLSL shaders. 2021-02-28 15:00:13 +01:00
Leon Styhre 2dbcb6a7d9 Fixed an issue where the GLSL shader alpha values would be handled differently depending on the graphics driver. 2021-02-28 12:59:08 +01:00
Leon Styhre c38e087b28 Fixed an issue where some pragma directives crashed the GLSL shader compiler on Windows. 2020-11-29 22:42:05 +01:00
Leon Styhre d1adb313e6 Improved the opacity shader. 2020-09-13 09:57:00 +02:00
Leon Styhre a34bc45e56 Added an opacity shader. 2020-09-12 19:17:26 +02:00
Leon Styhre 3643c08caf Updates to the OpenGL shader handling. 2020-09-12 12:14:48 +02:00
Leon Styhre fd10aba815 Updated the GLSL shader logic and added a postprocessing function. 2020-09-04 18:59:19 +02:00
Leon Styhre d512c2b11d Implemented OpenGL GLSL shader support. 2020-08-30 22:19:37 +02:00