Troubleshoot DirectX 11 shader does not display vertex color

If you use the Paint Vertex Color Tool to paint the vertices on an object that has a DirectX 11 shader applied, and the vertex color does not display as expected, it may be because the Color0 attribute in the Surface Data section of the DirectX 11 shader is not set to the correct color set. By default, Maya names the first vertex color set you create as colorSet1.

The following are possible workarounds: