mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
force same gamma
old-commit-hash: a5e9c603bda12733b543fa40369239b84b90b88c
This commit is contained in:
@@ -28,7 +28,7 @@ half mf(half x, half cp) {
|
||||
|
||||
half3 color_correct(half3 rgb, int ggain) {
|
||||
half3 ret = (0,0,0);
|
||||
half cpx = clamp(0.01h, 0.05h, cpxb + cpxk * min(10, ggain));
|
||||
half cpx = 0.01; //clamp(0.01h, 0.05h, cpxb + cpxk * min(10, ggain));
|
||||
ret += (half)rgb.x * color_correction[0];
|
||||
ret += (half)rgb.y * color_correction[1];
|
||||
ret += (half)rgb.z * color_correction[2];
|
||||
|
||||
Reference in New Issue
Block a user