Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: bsabiston

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    240

    Yes, converting to triangles. And yes I just...

    Yes, converting to triangles. And yes I just want to know how to find the distance between the fragment coordinate and the segment. Basically, how do I get the fragment coordinate?
  2. Replies
    4
    Views
    240

    Wide line endcaps in a fragment shader?

    I've been looking into various ways to draw wide lines. A couple of times I have run across references to rendering rounded endcaps in the fragment shader, instead of with geometry (by adding a...
Results 1 to 2 of 2