Home
Shaders
Links
About
Triangles to pyramids
A geometry shader that creates a pyramid for each face (triangle).
Shader source :
https://pastebin.com/b5xEspVw
Based on :
MSDN