PG:
so I’m making my own meshes from scratch using vertex data.
and for those meshes a wireframe shader I made (and also DebugMaterialPlugin) doesn’t work quite right.
For some triangles, the entire triangle is black.
You can see this in the PGthe problem so far I’ve been able to point to is, the triangles aren’t exactly being colored rgb
before barycentric threshold happens.
Is there something I’m doing wrong when creating meshes from made up vertex data? (is the problem source in the vertex data?)
I mean, I know it is, cuz it doesn’t happen on normal meshes, but to what extent, can I fix it w/o changing the vertex data?
Any pointers here are super helpful, tysm! : )