This commit is contained in:
vfs committed 2026-02-19 22:47:55 +01:00
1 parent 35562dd3fb
commit bfaf4653f0
3 files changed
+92 -5

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ static const float2 square[6] = {
VSOutput main(VSInput input, uint vertex_index : SV_VertexID) {
VSOutput output;
float2 vertex_pos = square[vertex_index];
float2 vertex_pos = square[vertex_index % 6];
float2 final_pos = (vertex_pos * input.scale) + input.pos;
output.pos = float4(final_pos, 0.0, 1.0);