Vertex Painting is a simple way of painting color onto an object, by directly manipulating the color of vertices, rather than textures, and is fairly straightforward. Vertex Painting stores the color information as a Color Attribute which can be used by different render engines.
Dynamic Paint can create Color Attribute information while using physics or animation.
Viewing Color Attributes
Color Attributes can be used in a material node tree using the 颜色属性节点.
Color Attributes can be viewed in the 3D viewport using the Workbench render engine. To use such feature, set the 3D Viewport to Solid Shading and select the Attribute Color option.