Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Normal Visualizer help

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2010

    Normal Visualizer help

    HI,I want to code a normal visualizer using the Geometry shader however I'm not sure if I need a seperate Geometry shader for this or incorporate it into my current one. I don't think the latter is possible is it? especially if you have already defined the layout i.e. layout(triangle_strip, max_vertices = 3) out.

    Does anyone know the best route to take, especially when you are deforming vertices inside the shader. How could you visualize normals with the geom shader?

    All the best

  2. #2
    Member Regular Contributor
    Join Date
    Jul 2012
    From here, it is said that a geometry shader
    is designed to accept a specific Primitive type as input and to output a specific primitive type

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts