Jump to content

  • Log In with Google      Sign In   
  • Create Account


Enable/disable geometry shader conditionally at runtime


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 leonard2012   Members   -  Reputation: 167

Like
0Likes
Like

Posted 12 December 2012 - 10:44 AM

I'm implementing line thickness rendering with geometry shader, i.e to create two triangles from a line segment. Although the GS works, it is not needed and thus should be disabled when graphics objects other than thickness lines are drawn, e.g. polygons. So how can I enable and disable geometry shader given certain conditions at runtime? Thanks in advance.

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS