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
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for