Suppose I have some geometrical data and I wish to render it in wireframe mode. Obviously, this can be done using the API (for example, by setting some appropriate mode like D3DFILL_WIREFRAME in DirectX).
But I was interested if that is possible to achieve using vertex / geometry / pixel shaders (combined, probably).
Does someone have a sample of that?
Thank you.
Perhaps something like http://wn.com/DirectX_C++__Geometry_with_Wireframe_Effect ?
Try this: http://cgg-journal.com/2008-2/06/index.html — code at the bottom