diff --git a/Assets/Kino/Bloom/Editor/BloomGraphDrawer.cs b/Assets/Kino/Bloom/Editor/BloomGraphDrawer.cs index 22b80a5..5345a2c 100644 --- a/Assets/Kino/Bloom/Editor/BloomGraphDrawer.cs +++ b/Assets/Kino/Bloom/Editor/BloomGraphDrawer.cs @@ -139,7 +139,7 @@ Vector3 PointInRect(float x, float y) { x = Mathf.Lerp(_rectGraph.x, _rectGraph.xMax, x / _rangeX); y = Mathf.Lerp(_rectGraph.yMax, _rectGraph.y, y / _rangeY); - return new Vector3(x, y, 1); + return new Vector3(x, y, 0); } // Draw a line in the graph rect.