fix spline in shader