Introduction to the DirectX 9 Shader Models - Nvidia
Introduction to the DirectX 9 Shader Models - Nvidia
Introduction to the DirectX 9 Shader Models - Nvidia
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Single Pass Lighting?<br />
• It doesn’t necessarily make sense <strong>to</strong><br />
try <strong>to</strong> fit multiple shadowed lights in<br />
one pass<br />
– Shadow volumes<br />
• You can’t really do this anyway<br />
– Shadow maps<br />
• Still a hard limit on <strong>the</strong> # that can be handled<br />
per pass<br />
– Multiple code paths<br />
• Non-linear perf falloff with more lights<br />
• As # of light 0/1/2/3 / material combinations<br />
go up, batch size goes down anyway<br />
• Probably not worth <strong>the</strong> hassle fac<strong>to</strong>r