What problem, apply colours to a drawing of how color is black
Why vertex rendering vert function cannot be effective to apply colours to a drawing
CodePudding user response:
It was written on the fragment shader:Void frag (float4 in pos: POSITION, inout float4 col: COLOR)
{
}
Pay attention to the semantic binding is according to the type to match, rather than a name to match,,,
CodePudding user response:
To write a blog to recordPortal
http://blog.csdn.net/a958832776/article/details/72626845