30.04.2014 Views

Introduction to the DirectX 9 Shader Models - Nvidia

Introduction to the DirectX 9 Shader Models - Nvidia

Introduction to the DirectX 9 Shader Models - Nvidia

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!