Hi - I am trying to assign a pbr material to a geometry… but could not yet make it work correctly. Here is wood a texture
It consists of 4 files
What kind of works is the following:
pbrMat1 = new BABYLON.PBRMaterial(“pbrMat1”, scene);
pbrMat1.albedoTexture = new BABYLON.Texture(“Wood021_2K_Color.jpg”, scene);
Problems I have are the folowing:
1.) The texture needs to be rotated by 90 degrees. How to do that?
pbrMat1.albedoTexture.rotation = ???
But I couldn’t find what to put right.
2.) How to assign the remaining 3 textures?
pbrMat1.bumpTexture = new BABYLON.Texture(“Wood021_2K_Displacement.jpg”, scene);
But I need to make the texture very pale - otherwise the result looks very strange (blotchy).
Is there any demo online that shows hoe to do it right?