I am loading a GLTF model, then setting it’s material to a
NodeMaterial, but it doesn’t seem to apply to the model.
NodeMaterial is created using https://nme.babylonjs.com/ and exported as a json, then loaded in Babylon using
None of the properties I change from code seem to affect the GLTF model’s materials.
Using the Babylon
debugLayer.show() GUI, I am able to change the properties of the model’s materials, but noticed the material’s class is “
PBRMaterial” instead of the material I set it to in code (a material that extends “
My end goal is to apply a vertex shader to the loaded GLTF models to bend the road (this is an infinite runner).