I’ve created a basic Display Conduit class to draw my custom mesh. I wanted to have mesh where every face is a solid color so I created a collection of meshes from my original mesh where every mesh only have one face (or when I “extrude” the faces then 5-6 faces). When the displaypipeline draws the mesh it creates a gradient on the mesh face where one corner is darker than the other. How do I get rid of this effect? I just want a solid color face.
Ok. I drew the mesh with the false colors and worked just fine :). So I assume that the problem was with the shader (when I drew the mesh “shaded” it rendered some shadows to the faces?)
Good to hear using DrawFalseColors worked. Not sure how this is supposed to work. It may very well be that those are indeed the shadowing results. Maybe ensuring vertex normals are all parallel helps with your original code.