Commit graph

9 commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks
ffc14e1d2d filters/color-grading: Use explicit matrix initializer for GLSL support
Fixes #510
2021-04-22 12:12:49 +02:00
Michael Fabian 'Xaymar' Dirks
36b12d971b filters/color-grading: Fix incorrect Lift logic (#515)
Fixes #515
2021-04-14 13:41:52 +02:00
Michael Fabian 'Xaymar' Dirks
895b1a06e6 filters/color-grading: Fix Gamma function and improve code readability
Fixes #510
2021-04-14 13:41:52 +02:00
Michael Fabian 'Xaymar' Dirks
bd0831bf9b filters/color-grading: Replace log10 command for GLSL (#510)
Fixes #510
2021-04-14 13:41:52 +02:00
Michael Fabian 'Xaymar' Dirks
e436d22367 filters/color-grade: Redesign for use with LUTs
There is hardly any reason for us to recalculate everything all the time. LUTs can cache the work once, and then re-use it every time necessary, drastically reducing the impact of Color Grading by almost 60% (on some GPUs even more). Additionally this fixes the negative gamma issue, which plagued the filter for a while.

In the future, once PR 4199 (https://github.com/obsproject/obs-studio/pull/4199) has been merged, we can cut away one intermediate rendering step currently required to make the effect work. Hopefully this will be with the 27.x release of OBS Studio.
2021-02-06 16:22:22 +01:00
Michael Fabian 'Xaymar' Dirks
ba97ea06b0 filter-color-grade: Fix effect 2020-03-28 20:20:33 +01:00
Michael Fabian 'Xaymar' Dirks
2e98c2e754 color-grade: Fix and improve advanced options
These new options allow further control over the Tint tool in Color grading.
2019-09-04 02:18:40 +02:00
Michael Fabian 'Xaymar' Dirks
781307fbe6 color-grade: Add further Tint options 2019-09-04 01:41:15 +02:00
Michael Fabian 'Xaymar' Dirks
721f2bdf8f filter-color-grade: Fully feature Color Grading filter
Allows controlling Lift, Gamma, Gain, Offset, Tint and various Correction factors directly from within OBS without having to create a new LUT.
2019-08-02 23:49:18 +02:00