Hello. First post here!
I’ve been trying to follow the guide at Create a Material for the Materials Library - Babylon.js Documentation.
Doing that is a bit akward since I use babylon using npm so I can’t change the material library there. Instead I need to clone a fresh babylon and do my work there to produce a new material library. I build it using gulp. However I am having issues using it (my own material library) from typescript.
My question then; Is there an example where a custom material is added outside of the babylon source code? Preferably in typescript.
If not, is there an example that does what I tried above succeesfully? I ran into issues with importing modules but it might be due to my inexperience with typescript. If this is the way to do it I can show the exact issues I am running into (if there is no example to look at).