Introduction to the DirectX 9 Shader Models - Nvidia
Introduction to the DirectX 9 Shader Models - Nvidia
Introduction to the DirectX 9 Shader Models - Nvidia
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
vs_3_0 Output example<br />
vs_3_0<br />
dcl_color4 o3.x<br />
dcl_texcoord3 o3.yz<br />
dcl_fog o3.w<br />
dcl_tangent o4.xyz<br />
// color4 is a semantic name<br />
// Different semantics can be packed in<strong>to</strong> one register<br />
dcl_positiont o7.xyzw // positiont must be declared <strong>to</strong> some unique register<br />
dcl_psize o6<br />
// in a vertex shader, with all 4 components<br />
// Pointsize cannot have a mask