Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Urgent: need to draw lines and polygons using a given colour in Direct3D11 #221

Closed
asishnr opened this issue Dec 3, 2013 · 0 comments
Closed

Comments

@asishnr
Copy link

asishnr commented Dec 3, 2013

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.

@asishnr asishnr closed this as completed Dec 3, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant