3 ms·
Does anyone know of a real world game or app that uses geometry shaders? Everything I've read (including this) says they're good in theory but not so much in p
by bjwbell 12y ago
Does anyone know of a real world game or app that uses geometry shaders?
Everything I've read (including this) says they're good in theory but not so much in practice.
- malkia 12y agoAssasin's Creed mentions of Geometry Shaders being used - (March, 2014, GDC) - https://bartwronski.files.wordpress.com/2014/03/ac4_gdc.pdf https://bartwronski.files.wordpress.com/2014/03/ac4_gdc.pdf possibly many others. EDIT: Here is much more updated version (4 versions actually with much more detailed images/video and more notes) - from the author's web-page - http://bartwronski.com/2014/05/09/digital-dragons-2014-slides/ http://bartwronski.com/2014/05/09/digital-dragons-2014-slide... oh, and if you are looking for some fun graphics failures :) http://igetyourfail.blogspot.com/2009/02/behold-power-of-geometry-shaders.html http://igetyourfail.blogspot.com/2009/02/behold-power-of-geo...
- psykotic 12y agoFor post-processing, Capcom's MT Framework used geometry shaders to generate primitives in lieu of scattered read-modify-writes to pixels. I'm not sure if the bang for the buck was there, but the concept was clever enough that it stuck with me.
- leohutson 12y agoThey are used a lot for generating normal vectors on the fly, since you can take in a whole triangle, you just do a cross product of two of the edges and you're done. From my experience, they are fast enough as long as you don't emit more than 2x primitives that you take in. They are also useful for culling primitives. They are not suitable for tessellation, which funnily enough is better done by tessellation shaders. Tessellation shaders are actually pretty flexible, and can do most of the things that you might have thought geometry shaders would be suitable for.