why is this triangle shader that I wrote splitting into four?
I wrote a triangle shader with an edge function and tried to use weight to color it in, but the colors split into 4 separate triangles each with their own smaller version of the shader for some reason. the drawing function is just two lines of code for color and position and should not be causing this error.