Export (0) Print
Expand All

Color Register

These vertex shader output registers contain a color value.

RegisterDescription
oD0diffuse color register.
oD1specular color register.

 

The oD0 value is interpolated and is written to the pixel shader color register 0 (v0). The oD1 value is interpolated and written to the pixel shader color register 1 (v1). For more information about pixel shader color registers, see the pixel shader Input Color Register page.

Remarks

Example



min oD0, r0, c1.x    


 

 

Community Additions

ADD
Show:
© 2014 Microsoft