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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Lighting Render Loop Summary<br />

• Good solution for D3D8 / D3D9 scalability<br />

• For shadowed scenes, use single light at a<br />

time<br />

– Easier than packing mulitple lights in<strong>to</strong> one pass<br />

– Scales linearly<br />

• <strong>DirectX</strong>9 lets you do all lighting in one pass<br />

– But for shadows and similarity <strong>to</strong> <strong>DirectX</strong>8 path,<br />

use one pass per light

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

Saved successfully!

Ooh no, something went wrong!