You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
I need to draw a set of lines using a given colour. I have seen many samples that uses pixel shader and fx files. My requirement is bit simpler. I need to draw a set of lines (LineStrip) using a given vertices by a provided colour. I don't want to use any pixel shader mechanisms. In Direct3D9 I have a line object and I was well managed to implement it. But when I moved to Direct3D11 I am trapped. Kindly please tell me how to draw lines, rectangles and Polygons (filled with colour). I tried with VertexPositionColor but couldn't succeed. Please help!!!! Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi all,
I need to draw a set of lines using a given colour. I have seen many samples that uses pixel shader and fx files. My requirement is bit simpler. I need to draw a set of lines (LineStrip) using a given vertices by a provided colour. I don't want to use any pixel shader mechanisms. In Direct3D9 I have a line object and I was well managed to implement it. But when I moved to Direct3D11 I am trapped. Kindly please tell me how to draw lines, rectangles and Polygons (filled with colour). I tried with VertexPositionColor but couldn't succeed. Please help!!!! Thanks in advance.
The text was updated successfully, but these errors were encountered: