Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualnonoptimalrobot

Posted 27 August 2013 - 11:54 PM

Are you talking about packing the matrices in a texture rather than sending it as a uniform?

 

Not necessarily but as DigitalFragment pointed out there are many advantages to doing so; either way the concept is the same.  If your hardward supports texture fetches in the vertex shader and floating point texture formats it's generally a good idea (such features are common these days).


#1nonoptimalrobot

Posted 27 August 2013 - 11:53 PM

Are you talking about packing the matrices in a texture rather than sending it as a uniform?

 

Not necessarily but as DigitalFragment pointed out there are many advantages to doing so; either way the concept is the same.  If your hardward supports texture fetches in the vertex shader and floating point texture formats it's generally a good idea (this is common theses days).


PARTNERS