How to implement functions similar to geometry shaders with Babylonjs?

For example, you already know the coordinates of a point. On the basis of this point, you can use the shader to process a sphere around it and render it. OpenGL can be realized with geometric shaders. How can Babylon be realized?

You can not or only on CPU. This is not available to either WebGL or WebGPU

1 Like

Hey there just checking in, was your question answered? @yuemiao

I am also interested if there’s any support for geometry shaders ?

Here is an interesting discussion about this on the WebGPU repo:

TLDR: they won’t implement geometry shaders in the future

As for WebGL, there is no support either.