From f03ff66eaf43b2538826d24924cd0918d47a0d10 Mon Sep 17 00:00:00 2001 From: GraniteSidewalk <32942106+GraniteSidewalk@users.noreply.github.com> Date: Tue, 9 Mar 2021 19:31:43 -0600 Subject: [PATCH] Fixes float error (#3607) --- Resources/Textures/Shaders/gradient_circle_mask.swsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/Textures/Shaders/gradient_circle_mask.swsl b/Resources/Textures/Shaders/gradient_circle_mask.swsl index a00a9d2d48..a785017ee4 100644 --- a/Resources/Textures/Shaders/gradient_circle_mask.swsl +++ b/Resources/Textures/Shaders/gradient_circle_mask.swsl @@ -4,8 +4,8 @@ light_mode unshaded; const highp float darknessAlphaInner = 0.6; -const highp float innerCircleRadius = 40; //Note: this is in pixels -const highp float outerCircleRadius = 80; +const highp float innerCircleRadius = 40.0; //Note: this is in pixels +const highp float outerCircleRadius = 80.0; void fragment() { highp vec2 pixelSize = vec2(1.0/SCREEN_PIXEL_SIZE.x, 1.0/SCREEN_PIXEL_SIZE.y);