Open benvanik opened 9 years ago
This issue is back in the current rendering backend apparently, the shader generating the line wireframe was lost at some point in time. Though now it will require not only the GS, but since we aim to support devices without geometry shader support too, additional paths in the PrimitiveProcessor
that would build line loops (not supported in Vulkan or Direct3D) on the CPU, both for index-buffered (duplicating indices on the CPU) and auto-indexed (a special static 01,12,23,30… index buffer, or maybe 01230cut45674, but I think any rendering differences between line lists and line strips, such as at corners and ends, may occur only with wide lines, not with wireframe which is probably always 1px-Bresenham-rasterized) scenarios.
May need some magic geometry shader work here, or switch to line lists. Demonstrated in Conveni box borders.