I have a masterscene with an embedded powdercoat material (‘matPowderBlack’) assigned to a dummy-object.
When appending an object to the scene (meubar_tablefoot.glb) with the same material embedded into the glb (tablefoot.glb), the material shows on my object (top half of the picture)
However, when I assign ‘matPowderBlack’ to the tablefoot object, the normalmap doesn’t show
appendScene(objectDir+'meubar_tablefoot.glb', 'tablefoot', false, false, function() {
setShadowParam(getObjectsFrom('tablefoot', 'MESH'), 'CAST', 'ENABLE');
setShadowParam(getObjectsFrom('tablefoot', 'MESH'), 'RECEIVE', 'ENABLE');
assignMat(getObjectsFrom(getEntityByName('tablefoot', 'OBJECT'), 'MESH'), 'matPowderBlack');
}, function() {}, function() {});
Any idea what I’m doing wrong?
Attachments:
You must be
logged in to view attached files.