Jump to content

Geometry Shader Example


Recommended Posts

I kinda lightly looked for it, but I could only see people talking about how it was not supported but that was when we did not have 2.0 support.

Are there any examples of a Geometry Shader anyone has done in BJS.

Something with EmitVertex() or what ever its called.

Link to comment
Share on other sites

Geometry Shaders allows you to generate a variable number of vertices based on an input vertex.

in that case we have 3 part  shader  vertex shader, geometryShader , fragmentShader 

you most use that in geometryShader part

and answer no webgl and webgl2 not support that yet

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...