1
Support / Re: Expanding TileMap's Alt to copy from all layers
« on: June 02, 2016, 04:17:05 pm »
Has this feature been added? This would really streamline editing on a project i'm currently working on
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
tmpMesh.RecalculateNormals();
coll.spriteDefinitions.normals = tmpMesh.normals;
if (gen.normalGenerationMode == tk2dSpriteCollection.NormalGenerationMode.NormalsAndTangents)
{
Vector4[] tangents = new Vector4[tmpMesh.normals.Length];
for (int t = 0; t < tangents.Length; ++t)
tangents[t] = new Vector4(1, 0, 0, -1);
coll.spriteDefinitions.tangents = tangents;
}
chunk.mesh.RecalculateNormals();
TangentSolver.Solve(chunk.mesh);