How to combine textures in node material

I’m trying to create universal shader which can move texture to some direction with some speed

I see that when i import mesh from glb file it has 4 type of textures: base_color, normal_map, specular, roughness

I’ve created such node material: Babylon.js Node Material Editor

But i can’t understand how i can to combine those 4 textures (which i added from glb file) to have the same behaviour as i have when import glb file

Thanks for help!

There’s a couple of examples in the docs to recreate StandardMaterials and PBRMaterials using NME:

3 Likes

There’s also this that I did recently which might be helpful:

Thank you very much!

1 Like