britanniavirtual / hlsl_line_shader Goto Github PK
View Code? Open in Web Editor NEWDirectX 11 shader to draw solid 3D line based on two 3D points as the vertex input. Line width and fill color specified with a cbuffer. Uses geometry shader to render the billboard line.