Sign in to follow this  

Stupid Vertex Shader Question

This topic is 4863 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it possible to let a vertex shader draw an extra vertex? So when you apply the shader to a vertex it results in 2 vertices being drawn? I guess not but i'd like to know it for sure. Thanks.

Share this post


Link to post
Share on other sites
Nope, vertex programs/shaders operate on a strictly one vertex in -> one vertex out pipeline. Although you could process your geometry beforehand to have duplicate dummy vertices and let the vertex program treat them differently.

Share this post


Link to post
Share on other sites

This topic is 4863 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this