Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualBacterius

Posted 04 December 2012 - 09:31 PM

So my first question is, should I be implementing a given feature (eg shadow mapping) multiple times for every shader that needs it, or should I be trying to create a "it-does-everything" shader? And as a follow up, could I be writing my shaders to be more modular? I'm currently not using the ability to have multiple techniques or passes as I don't follow how they should be used.

The relevant keyword is "uber shader", by the way, that should give you a lot more google hits on the subject.

#2Bacterius

Posted 04 December 2012 - 09:31 PM

So my first question is, should I be implementing a given feature (eg shadow mapping) multiple times for every shader that needs it, or should I be trying to create a "it-does-everything" shader? And as a follow up, could I be writing my shaders to be more modular? I'm currently not using the ability to have multiple techniques or passes as I don't follow how they should be used.

The relevant keyword is "uber shader", by the way, that should give you interesting google hits on the subject.

#1Bacterius

Posted 04 December 2012 - 09:29 PM

So my first question is, should I be implementing a given feature (eg shadow mapping) multiple times for every shader that needs it, or should I be trying to create a "it-does-everything" shader? And as a follow up, could I be writing my shaders to be more modular? I'm currently not using the ability to have multiple techniques or passes as I don't follow how they should be used.

The relevant keyword is "uber shader", by the way, that should give you more relevant google hits on the subject.

PARTNERS