I am trying to think of a way to generate a gradient like this picture:
Something like this
GetGradientTexture(360f,100(width),100(height)), or if i want a directional light (like a flashlight)
But I can't really think of a good way to do this. Does anyone have anything that can push me in the right direction?