We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

assignMat doesn’t show normals

Home Forums Graphics / Blender assignMat doesn’t show normals

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #67119
    kvdml
    Participant

    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.
    #67124
    kdv
    Participant

    The most likely reason:

    I suppose the mesh in the appended scene is also named as “tablefoot”? Without the example itself it’s hard to say more.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.