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: GClements

Search: Search took 0.00 seconds.

  1. That's because you're applying the offset after...

    That's because you're applying the offset after the coordinates have been transformed to clip space. If you want the offset to be applied in object space:


    gl_Position = Projection * View *...
  2. Your geometry shader is emitting four identical...

    Your geometry shader is emitting four identical points, so you shouldn't be seeing anything.

    To get quads which are aligned in model space, you should be adding offsets after transformation by the...
Results 1 to 2 of 2