From https://www.humus.name/Articles/Persson_GraphicsGemsForGames.pdf Phone-wire AA Siggraph 2012 presentation, Emil Persson, Avalanche Studios
- Phone wires are long cylinder shapes, define center points, normal and radius
- Avoid going sub-pixel by clamping radius to half-pixel size, then fade with radius reduction ratio to simulate sub-pixel coverage.
- Also useful for railings, bars, antenna towers etc.
- Still need to apply MSAA or other AA solution on top to smooth jaggies
// compute view-space w
float w = dot(viewproj[3], float4(In.Position.xyz, 1.0f));