diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-02-09 16:49:39 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-02-09 16:49:39 +0100 |
commit | ddc3871b27fe9fc086453e3c61b96ae4783e4035 (patch) | |
tree | 5c3557aa2467e64d68c80c5e3c0b7baed106fd0a /src | |
parent | 3b3d8e893d586e758cae96a6b4c8508cb65afe14 (diff) |
Change hdr colors again
Diffstat (limited to 'src')
-rw-r--r-- | src/color_conversion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/color_conversion.c b/src/color_conversion.c index 1dd3fe8..4c737e9 100644 --- a/src/color_conversion.c +++ b/src/color_conversion.c @@ -98,12 +98,12 @@ static int load_shader_y(gsr_shader *shader, gsr_egl *egl, gsr_color_uniforms *u if(color_range == GSR_COLOR_RANGE_FULL) { main_code = " vec4 pixel = texture(tex1, texcoords_out); \n" - " FragColor.x = pow((RGBtoYUV * vec4(pixel.rgb, 1.0)).x, 0.62); \n" + " FragColor.x = pow((RGBtoYUV * vec4(pixel.rgb, 1.0)).x, 0.55)*0.8; \n" " FragColor.w = pixel.a; \n"; } else { main_code = " vec4 pixel = texture(tex1, texcoords_out); \n" - " FragColor.x = pow((RGBtoYUV * vec4(pixel.rgb, 1.0)).x, 0.72); \n" + " FragColor.x = pow((RGBtoYUV * vec4(pixel.rgb, 1.0)).x, 0.6)*0.82; \n" " FragColor.w = pixel.a; \n"; } } else { |