let geometry:primitives.IGeometry = {
positions: this.m_positions,
indices: this.m_indices,
uvs: this.m_uvs,
normals: this.m_normals,
doubleSided: true,
primitiveMode: gfx.PrimitiveMode.TRIANGLE_LIST,
}
let newMesh = utils.MeshUtils.createMesh(geometry);
this.model.mesh = newMesh;
使用如上代码给模型替换mesh后,模型上的阴影信息还是替换之前的,用了法线贴图也不行。有大佬知道吗。注释里写的换了mesh后没了权重信息,会是这个影响的吗