I said in my last blog that the note shader had some restrictions when it came to sizes. Well, no more. As I was optimizing the texture (I wanted it to be a quarter of a circle) I figured I could do the same thing to the u coordinate as I was doing to the v coordinate, and voila, specify the width and height and all the corners are perfectly round. I also made it possible to specify the size of the radius, and the size would stay constant regardless of the size of the note.
top of page
bottom of page