Sign in to follow this  

clipping problems when using pre-transformed vertices

Recommended Posts

Hope someone could help me on this. I am using DrawIndexedPrimitiveUP for rendering a mesh and the vertices are placed in an array. Basically, what we did is apply the whole world*view*projection matrix on the vertices before going to the vertex shader. So in the vertex shader, we just output the input position. The mesh is rendered correctly except when some of the vertices are out of the screen. Is there a way to correct this using only pre-transformed vertices?

Share this post

Link to post
Share on other sites

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