title: Multiple shaders vs multiple techniques in DirectX
body: <p>I'm going through all the <a href="http://rastertek.com/tutindex.html" rel="noreferrer">Rastertek DirectX tutorials</a> which by the way are very good, and the author tends to use multiple shaders for different things. In one of the later tutorials he even introduces a shader manager class.</p>
  
  <p>Based on some other sources though I believe that it would be more efficient to use a single shader with multiple techniques instead. Are multiple shaders in the tutorials used for simplicity or are there some scenarios where using multiple shaders would be better then a single big one?</p>