Hi,
I have updated BabylonJS version from 3.2.0 alpha8 to 4.0.0.rc1 and I seen rendering differences for some materials.
For materials with environmentTexture, materials are more glossy with 4.0.0 version.
I give you an code sample for my material :
var material = new BABYLON.PBRSpecularGlossinessMaterial(“mat1”, scene);
material.alpha = 1;
material.glossiness = 0.51;
material.diffuseColor = new BABYLON.Color3(0 0, 0);
material.emissiveColor = new BABYLON.Color3(0, 0, 0);
material.specularColor = new BABYLON.Color(0.93, 0.93, 0.57);
material.environmentTexture = environmentProbe.cubeTexture;
I build environmentProb with this code
this.environmentProbe = new BABYLON.ReflectionProbe(“EnvironmentProbe”, 512, this.scene, true);
this.environmentProbe.position = new BABYLON.Vector3(0, 1.5, 0);
this.environmentProbe.refreshRate = 0;
this.environmentProbe.cubeTexture.sphericalPolynomial = new BABYLON.SphericalPolynomial();
I give you an exemple with a gold reindeer.
Do you have the same effects with 4.0.0 version ? Have you some ideas to fix it ?
Thanks.