Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualiedoc

Posted 15 November 2012 - 11:16 AM

yes, you can do that. i made a mistake though, and you don't have to match the vertex shaders inputs with the input layout. you can just take whichever elements you want out of the vertex data, skipping the ones you don't need, as long as the data the vertex shader wants is in the vertex structure and input layout (although you will want to avoid sending extra data you don't use as much as possible for performance reasons)

#3iedoc

Posted 15 November 2012 - 11:16 AM

yes, you can do that. i made a mistake though, and you don't have to match the vertex shaders inputs with the input layout. you can just take whichever elements you want out of the vertex data, skipping the ones you don't need (although you will want to avoid sending extra data you don't use as much as possible for performance reasons)

#2iedoc

Posted 15 November 2012 - 11:13 AM

yes, you can do that. i made a mistake though, and you don't have to match the vertex inputs with the input layout. you can just take whichever elements you want out of the vertex data, skipping the ones you don't need (although you will want to avoid sending extra data you don't use as much as possible for performance reasons)

#1iedoc

Posted 15 November 2012 - 11:12 AM

yes, you can do that. i made a mistake though, and you don't have to match the vertex inputs with the input layout. you can just take whichever elements you want out of the vertex data, skipping the ones you don't need (although you will want to avoid that as much as possible for performance reasons)

PARTNERS