colorblindesscorrection: fix incorrect variable name in shader program
Signed-off-by: Jie Liu <liujie01@kylinos.cn>
This commit is contained in:
parent
0eba9e631e
commit
8233bb9de5
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ void main()
|
|||
tex = adjustSaturation(tex);
|
||||
|
||||
vec3 LMS = srgbToLMS * tex.rgb;
|
||||
vec3 lms = defectMatrix * lms;
|
||||
vec3 lms = defectMatrix * LMS;
|
||||
vec3 error = errorMat * lms;
|
||||
|
||||
vec3 diff = (tex.rgb - error) * vec3(intensity);
|
||||
|
|
Loading…
Reference in a new issue