Shaders/radiation: cOuLd NoT iMpLiCiTlY cOnVeRt OpErAnDs (#5645)

This commit is contained in:
E F R
2021-12-01 20:43:06 +00:00
committed by GitHub
parent 11c74f1c7d
commit eff00bd57a

View File

@@ -85,7 +85,7 @@ void fragment() {
// Extremely hacky way to detect FoV cones
highp float osum = warped.r + warped.g + warped.b;
highp float osr = osum > 0.1 ? 1.0 : 10 * osum;
highp float osr = osum > 0.1 ? 1.0 : 10.0 * osum;
// Apply overlay
// FYI: If you want a smoother mix, swap lCol and rCol.