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.

Gradient Instructions<br />

• Useful for shader anti-aliasing<br />

• DSX, DSY compute derivative of a vec<strong>to</strong>r wrt<br />

screen space position<br />

ds<br />

dx<br />

dt<br />

dx<br />

dr<br />

dx<br />

ds<br />

dy<br />

dt<br />

dy<br />

dr<br />

dy<br />

• •<br />

•<br />

• Use derivatives with TEXLDD...

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

Saved successfully!

Ooh no, something went wrong!