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.
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...