Timeline for Vertex shader are evil for performance?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 17, 2020 at 19:19 | comment | added | gman | @LaurentCouvidou, vertex shaders can generate geometry just fine. Here's an entire website of vertex shader generated geometry and although this question old that site is using nothing but GLSL ES 1.0 shaders, a spec from 2007. | |
| Aug 9, 2012 at 18:43 | vote | accept | user827992 | ||
| Aug 9, 2012 at 18:39 | comment | added | David Gouveia | They aren't used as much because they serve a different purpose, not because of performance. And if you're doing a side by side comparison of some effect that can be implemented either on vertex or pixel shader (such as texture scrolling) then the vertex shader will actually be faster because it's executed far less times (per vertex vs per pixel). | |
| Aug 9, 2012 at 18:35 | comment | added | Laurent Couvidou | Vertex shaders can't generate geometry. Geometry shaders can, but that comes with a cost. | |
| Aug 9, 2012 at 18:35 | answer | added | David Gouveia | timeline score: 11 | |
| Aug 9, 2012 at 18:33 | comment | added | user827992 | @Byte56 no, the point is about what should i adopt for future uses, the fact that the vertex shaders are useful is not a doubt for me, even more, since i understand their usefullness i don't get why they aren't used that much. I want to discuss possible performance issues rather than if they are useful or not. | |
| Aug 9, 2012 at 18:30 | comment | added | House | I'm not sure if you're understanding the difference between fragment and vertex shaders. They are used for different things. So one being used much more than the other doesn't imply anything about the usefulness of the other. | |
| Aug 9, 2012 at 18:17 | history | asked | user827992 | CC BY-SA 3.0 |