Hello
I have this situation:
I load a .obj file without a .mtl file and set the material manually this way:
This works, but than, somewhere else in my code I try to get that mesh and set some material properties:
As you can see, I get an error on the material.diffuseTexture property. I thought it maybe was an error with the .d.ts file in Typescript, but the Javascript console also throws this error. How is it possible that material.diffuseTexture is not found?
Edit: Other material properties do actually work, the .wireframe boolean works as expected.
Thanks