From eff00bd57a2dd41f1f511cd16f398bcbe611e328 Mon Sep 17 00:00:00 2001 From: E F R <602406+Efruit@users.noreply.github.com> Date: Wed, 1 Dec 2021 20:43:06 +0000 Subject: [PATCH] Shaders/radiation: cOuLd NoT iMpLiCiTlY cOnVeRt OpErAnDs (#5645) --- Resources/Textures/Shaders/radiation.swsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Textures/Shaders/radiation.swsl b/Resources/Textures/Shaders/radiation.swsl index b28753a6d7..939d3c5cb8 100644 --- a/Resources/Textures/Shaders/radiation.swsl +++ b/Resources/Textures/Shaders/radiation.swsl @@ -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.