Fred4walls Posted April 29, 2019 Share Posted April 29, 2019 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. Quote Link to comment Share on other sites More sharing options...
MarianG Posted May 21, 2019 Share Posted May 21, 2019 Hi @Fred4walls If you didn't do it yet, please post your question here https://forum.babylonjs.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.