Color Register

These vertex shader output registers contain a color value.

Register Description
oD0 diffuse color register.
oD1 specular 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 topic.

Remarks

Example

min oD0, r0, c1.x    

Vertex Shader Registers