I’m making a sphere procedural, and on all but 4 spots where two meshes(6 curved surfaces make up the cubesphere)
I set the shader to show the normals which I’m also generating manually, and they look perfectly fine (computateNormals on the other hand does not look right.
I’m not sure how I need to have the tangents set. How I have it now is wrong on some of the edges…
If I have the normals, how do I compute the tangents from that? Or do I need more than just the normals?
Anyways, here is a screenshot of the issue made from the resulting lighting, and the package.
Assets/Plugins/FixTangents.cs(3,30): error CS0246: The type or namespace name `Mesh’ could not be found. Are you missing a using directive or an assembly reference?
Isn’t “mesh” also a bad name for a variable?
I can probably copy that math though…
Love the graphics in your latest game, by the way.