Multiple gradient drawing in DirectX
How can I draw a gradient rect (a color hue spectrum actually) like this:
I thought of drawing it pixel by pixel but it takes a lot of time
(memory). I thought of drawing 4 different gradient rects with vertex
buffers, and it should be good, but is there another way to do that?
No comments:
Post a Comment