|
@@ -144,6 +144,7 @@ namespace BansheeEngine
|
|
|
renElement.morphShapeVersion = 0;
|
|
renElement.morphShapeVersion = 0;
|
|
|
renElement.morphShapeBuffer = renderable->getMorphShapeBuffer();
|
|
renElement.morphShapeBuffer = renderable->getMorphShapeBuffer();
|
|
|
renElement.boneMatrixBuffer = renderable->getBoneMatrixBuffer();
|
|
renElement.boneMatrixBuffer = renderable->getBoneMatrixBuffer();
|
|
|
|
|
+ renElement.morphVertexDeclaration = renderable->getMorphVertexDeclaration();
|
|
|
|
|
|
|
|
renElement.material = renderable->getMaterial(i);
|
|
renElement.material = renderable->getMaterial(i);
|
|
|
if (renElement.material == nullptr)
|
|
if (renElement.material == nullptr)
|
|
@@ -835,7 +836,7 @@ namespace BansheeEngine
|
|
|
else
|
|
else
|
|
|
setPassParams(element.params, nullptr, passIdx);
|
|
setPassParams(element.params, nullptr, passIdx);
|
|
|
|
|
|
|
|
- gRendererUtility().drawMorph(element.mesh, element.subMesh, element.morphShapeBuffer);
|
|
|
|
|
|
|
+ gRendererUtility().drawMorph(element.mesh, element.subMesh, element.morphShapeBuffer, element.morphVertexDeclaration);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void RenderBeast::refreshSamplerOverrides(bool force)
|
|
void RenderBeast::refreshSamplerOverrides(bool force)
|