Geometry shaders in Three.js?

Hi all,

is it even remotely conceivable to somehow plug in a geometry shader between vertex and fragment shaders within Three.js?

Geometry shaders are natively not supported by WebGL. There might be a way to emulate them but I can’t tell anything about the performance and the respective code complexity. Read the following article for more details: Yak Shading — Acko.net.

2 Likes

Thx. It’s not what I wanted to hear but the correct answer nevertheless. I was not expecting this much difference between WebGL and OpenGL.