Hi,
I am implementing a new shadow map algorithm and I need to draw all the edges of the geometry. The problem is that when I draw a line, I need to generate a fragment for all the pixels that intersect the line segment (once projected into window coordinates).
The default rasterization mode does not work because it uses the diamond rule. I have implemented a clipping test in my fragment program, but there are too many computations to do.
It there any way to tell opengl to rasterize lines as I have mentioned ?
Thanks
Nacho