So I am not very familiar with shaders but I have watched and read most neccesary tutorials to understand how they work. I need my shader for drawing laser weapon aim. The laser weapon needs to be charged before shooting, this is why I want my aim to show the current charge by filling the inside of the circle (except from the dot in the center) with the color in gradient from green to red(the color can be made by simple GML code if you don't know how to make the gradient), but the shader should fill not the whole space inside the aim, but the percentage of charging from down to top(e.g. if the weapon is half charged the bottom half of the aim should be filled with color between green and red). If the idea is not clear enough write here please.