I am applying texture on mesh then dark texture is showing, image is not coming

Please do not forget to add a link to a Playground to get a faster answer:

Would you have a reproduction of the problem somewhere? That’s hard to tell without more information.

self.addtexture = new StandardMaterial(“texture”, self.scene);
this.paperColor = new PBRMaterial(“color”, self.scene);
// / this.paperColor.specularColor = Color3.FromHexString(“#7F87B2”)
console.info(‘selectedPaper’, this.selectedPaper);
if (this.selectedPaper != undefined) {
var colorCode = “#” + this.selectedPaper.colorCode;
var rgb = this.hexToRGB(colorCode, undefined);
this.paperColor.albedoColor = new Color3(rgb.r, rgb.g, rgb.b);

}
else {
  this.paperColor.albedoColor = Color3.FromHexString("#ba8a06");
}
// this.addtexture.roughness = 1.0;    

// this.paperColor.reflectionTexture = this.hdrTexture;
// // this.paperColor.microSurface = 0.96;
// // this.paperColor.metalicTexture = new Texture(“./assets/images/Roughness.jpg”, self.scene);
// this.paperColor.metallic = 1.0;
// this.paperColor.useRoughnessFromMetallicTextureAlpha = false;
// this.paperColor.useRoughnessFromMetallicTextureGreen = true;
// this.paperColor.useMetallnessFromMetallicTextureBlue = true;
this.paperColor.roughness = 1.0;
// this.paperColor.clearCoat.isEnabled = true;

// // this.paperColor.reflectivityColor = new Color3(0.85, 0.85, 0.85);
// this.paperColor.albedoColor = new Color3(1.0, 0.766, 0.336);

var texture = new Texture("" + image.src, self.scene);
 self.addtexture.diffuseTexture = texture;
// self.addtexture.uScale = 2.4;
// self.addtexture.vScale = 2.4;
// // text.wAng = Math.PI/1;
// self.addtexture.uOffset = 0.1;
// self.addtexture.vOffset = -0.7;
 self.addtexture.diffuseTexture.hasAlpha = false;
  // self.addtexture.backFaceCulling = true;

if (self.scene.getMeshById("editor-page")) 
{ 
   self.scene.getMeshById("editor-page").material = self.addtexture;
}

if (self.scene.getMeshById("paper-color")) {
  self.colormesh = self.scene.getMeshById("paper-color");
  //  self.setcameraposition(this.scene); 
  self.colormesh.material = this.paperColor;
};

that is my code

As is stated on our question template, please provide your code in a Playground Babylon.js Playground (babylonjs.com) :upside_down_face: