nameStr = $.name as string
modelName = substring nameStr 1 4
texturePath = "D:/....../"+modelName+"/"+modelName+"a....._1.dds"
bt = BitmapTexture()
bt.filename = texturePath
$.material.diffuseMap = bt
$.material.opacityMap = bt
bt.monoOutput=1
bt.alphasource=0
沒有留言:
張貼留言