A little GLSL shader transforming triangles into spikes (composed with 3 triangles). It exposes a few params: amount of spikes, spike length, center of antigravity.
[video]GLSL Spikes - YouTube
A little GLSL shader transforming triangles into spikes (composed with 3 triangles). It exposes a few params: amount of spikes, spike length, center of antigravity.
[video]GLSL Spikes - YouTube
Loving this! Wondering what GPU you have because my 2 laptops couldn’t run it out fo the box.
The line in the geo shader:
layout(triangle_strip, max_vertices=108) out;
The max vertices on my GTX1060 equipped Win10 laptop can only go up to 68 before the shader will not compile. Ironically, my 6 year old MacBook with a GTX650M can handle 93.
Maybe setting a lower default value here would let more people try it successfully.
Ooops I’ve forgot to change this thing, for this effect it can be:
layout(triangle_strip, max_vertices=9) out;
I’ve fixed this on GitHub.