diff --git a/engine/src/core/com/jme3/util/TangentBinormalGenerator.java b/engine/src/core/com/jme3/util/TangentBinormalGenerator.java index 36ab1cd19..13eded2d0 100644 --- a/engine/src/core/com/jme3/util/TangentBinormalGenerator.java +++ b/engine/src/core/com/jme3/util/TangentBinormalGenerator.java @@ -611,6 +611,8 @@ public class TangentBinormalGenerator { } } + // If the model already had a tangent buffer, replace it with the regenerated one + mesh.clearBuffer(Type.Tangent); mesh.setBuffer(Type.Tangent, 4, tangents); // if (!approxTangent) mesh.setBuffer(Type.Binormal, 3, binormals); }