Happy Patel

Members
  • Content Count

    3
  • Joined

  • Last visited

About Happy Patel

  • Rank
    Newbie

Recent Profile Visitors

226 profile views
  1. most elegant way of import multiple meshes and changes this meshes color or material
  2. Hi johnk texture file not loading. remoteMaterial[2].diffuseTexture = new BABYLON.Texture("homepage_hero_image_3.jpg", scene); this line give error. I think remoteMaterial[2] Array does't work in diffuseTexture but work fine in diffuseColor .
  3. Hii give error when i add texture image to meshe .see code below remoteMaterial[2].diffuseTexture = new BABYLON.Texture("homepage_hero_image_3.jpg", scene); Error Uncaught TypeError: Cannot set property 'diffuseTexture' of undefined But remoteMaterial[2].diffuseColor = new BABYLON.Color4.FromHexString(hex); this code work fine .i am new in babylon so i have no idea about this error. thank you