Fix noir shader in compability mode (#38080)

fix noir shader in compability mode
This commit is contained in:
slarticodefast 2025-06-05 14:52:39 +02:00 • committed by GitHub
parent 2f5964063d
commit 7d2d05b99c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@
uniform sampler2D SCREEN_TEXTURE;
// Sensitivity, in degrees.
const highp float RedHueRange = 5;
const highp float RedHueRange = 5.0;
const highp float MinSaturation = 0.4;
// https://en.wikipedia.org/wiki/HSL_and_HSV#From_RGB