i have node setup like this
https://nme.babylonjs.com/#JMMXP3
i am trying to access the nodel material, once i get the node, how to update my texture parameters in node material before setting to mesh
NodeMaterial.ParseFromSnippetAsync("#WA6KIC", Threedscene).then((nodeMaterial) => {
dome.mesh.material=nodeMaterial;
}
You can use smthg like this
nodeMaterial.getTextureBlocks()[0].texture = noiseTexture;
Or:
nodeMaterial.getBlockByName("OrginalTexture").texture = ...;
nodeMaterial.getBlockByName("MaskedTexture").texture = ...;
2 Likes
Yup way better !!! thanks @Evgeni_Popov 
this is not working, it is saying texture property is not there