Jump to content

View more

Image of the Day

Adding some finishing touches...
Follow us for more
#screenshotsaturday #indiedev... by #MakeGoodGames https://t.co/Otbwywbm3a
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Enable/disable geometry shader conditionally at runtime

4: Adsense

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   

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.




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.