Notice that the values don't get too high because from the center ( vec2(0.5, 0.5) ) the maximum distance barely goes over 0.5.
Isn't the maximum distance half the square root of two? (The brightest points are at the corners of the canvas, so the distance from the center would be the length of diagonal of 0.5x0.5 square).
Similarly:
The horizontal distance to the edge of the cone is 0.5.
Shouldn't this be 1.0 if the edge of the cone is the point where the brightness gets 1.0?
Chapter 07 Shapes
Isn't the maximum distance half the square root of two? (The brightest points are at the corners of the canvas, so the distance from the center would be the length of diagonal of 0.5x0.5 square).
Similarly:
Shouldn't this be 1.0 if the edge of the cone is the point where the brightness gets 1.0?