Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
This is the last step in automating a workflow i use the confert FBX to a 3th party format.
In this stage I am in the slate material editor and I have materials with a linked diffuse bitmap.
I want to inport a normal/bump map on al materials based on the folder of the diffuse map.
for the right filename of the normal map i have this:
NormalMapName = (getFilenamePath file + getFilenameFile file + "_n" + getFilenameType file)
sceneMaterials["naam_opaque"].bumpMap = Bitmaptexture fileName:NormalMapName
I found how i can read the Bitmaptexture name
bMaps = getClassInstances Bitmaptexture
but i need the bitmap folderlocation.
I hope that sameone can help me with this.
Greeting Peter
Solved! Go to Solution.