diff --git a/plugins/SimulationView/layers3d.shader b/plugins/SimulationView/layers3d.shader index dc5aee2d1c..a3be25cf01 100644 --- a/plugins/SimulationView/layers3d.shader +++ b/plugins/SimulationView/layers3d.shader @@ -111,7 +111,7 @@ vertex41core = float clamp(float v) { - float t = v < 0 ? 0 : v; + float t = v < 0.0 ? 0.0 : v; return t > 1.0 ? 1.0 : t; }