Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualmv348

Posted 18 January 2013 - 01:06 PM

Lets say you had a list of triangles and you want to associate a particular attribute with each triangle. Is it possible to provide per-primitive attributes to the geometry shader, just as you can give per-vertex attributes to the vertex-shader?

 

Or, could you at least have access to all the attributes of the vertices that make up the primitive?


#1mv348

Posted 18 January 2013 - 01:03 PM

Lets say you had a list of triangles and you want to associate a particular attribute with each triangle. Is it possible to provide per-primitive attributes to the geometry shader, just as you can give per-vertex attributes to the vertex-shader?


PARTNERS