Closed flxeken closed 10 years ago
Its because of this line https://github.com/away3d/away3d-core-fp11/blob/dev/src/away3d/tools/commands/Merge.as#L274 Its adding position data to the normals. So var m:Matrix3D = mesh.sceneTransform.clone(); m.appendTranslation( -mesh.scenePosition.x, -mesh.scenePosition.y, -mesh.scenePosition.z); m.transformVectors(normals, normals);
said this on skype a few months ago. Forgot :/
thank you for the issue!
When I use the merge tool on two meshes with lighted materials on them I end up with one mesh with pitch black material. If I remove the lightpicker from the materials afterwards they have the right color. It seams that something happens with the way they reflect light when they merge.
to reporoduce:
I get similar problems when using Explode on loaded 3D-models, I have not seen this happen before 4.1 update.