Search Results
6/23/2025, 4:43:03 PM
>>105680818
there is basically one shader used for everything. it's a geometry shader that takes start/end of the rectangle and uv and turns it into a quad. I guess it submits rectangles to a buffer, which I'm not sure it would actually draw it back->front like that. the whole game is like 3 draw calls. meanwhile I'm doing 3 draw calls to draw a single button and one per font character.
there is basically one shader used for everything. it's a geometry shader that takes start/end of the rectangle and uv and turns it into a quad. I guess it submits rectangles to a buffer, which I'm not sure it would actually draw it back->front like that. the whole game is like 3 draw calls. meanwhile I'm doing 3 draw calls to draw a single button and one per font character.
Page 1