Looking at many of the tutorials here, I see that texture maps are embedded into the code using EMBEDD.
This is quite confusing, given that the AssetLibrary can import them as texture assets, which can then be referenced using AssetLibrary.getAsset(“filename”)..
Also I’ve noticed the asset library assigns a file path to the textures name. Is there anyway around this ?
For example - a map called Diffuse.jpg gets an asset.name of ....”..src/assets/folder/folder2/Diffuse.jpg”, rather than just “Diffuse.jpg”
Can anyone help me out with this ?
Thank you !!