Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualmartyj2009

Posted 19 June 2013 - 08:48 PM

Thank you for the reply. Sorry for the late response. I read your message a few days ago.

 

The reason I didn't use the layout location identifiers is that I am dynamically getting the location in my C code by the name of the attribute. I also keep my variables named the same. Although it would make for easier to understand shader code if I used them as well. That way users can see at a glance what output matches up with what input.

 

I will implemented this and post my results.

 

Thank you very much for the feedback. It is greatly appreciated.

 

Edit

--------------------------------------------

 

I modified my previous post with the updated shaders. I still get the same issues with tessellation.


#1martyj2009

Posted 19 June 2013 - 08:18 PM

Thank you for the reply. Sorry for the late response. I read your message a few days ago.

 

The reason I didn't use the layout location identifiers is that I am dynamically getting the location in my C code by the name of the attribute. I also keep my variables named the same. Although it would make for easier to understand shader code if I used them as well. That way users can see at a glance what output matches up with what input.

 

I will implemented this and post my results.

 

Thank you very much for the feedback. It is greatly appreciated.


PARTNERS