Color Register
Microsoft DirectX 9.0 SDK Update (October 2004)

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.

Syntax

Color Register 

Remarks

Example

min oD0, r0, c1.x    


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.