practicing01 Posted August 14, 2016 Posted August 14, 2016 Solved Edit: The problem was that I need to set the model material name to base_tcgMat within blender.I've got a TSStatic that I'm instantiating with: %card = "dnclogo"; %cardModel = new TSStatic() { shapeName = "art/shapes/dotsnetcrits/tcg/card.cached.dts"; position = %player.position; skin = %card; }; The models material is: singleton Material(card_tcgMat) { mapTo = "base_tcgMat"; diffuseMap[0] = "dnclogo"; translucentBlendOp = "None"; effectColor[1] = "InvisibleBlack"; }; and the material I'm trying to set it to is: singleton Material(tcgdnclogo : card_tcgMat) { mapTo = "dnclogo_tcgMat"; diffuseMap[0] = "dnclogo.png"; }; the error I'm getting is: [MaterialList::mapMaterials] Unable to find material for texture: tcgMat What's the correct way of setting skins? Thanks for any help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.