This is weird…
The color entered for the material is not the color in the inspector.
- Playground: https://playground.babylonjs.com/#2FDQT5#1227
- Color Hex:
#82D52F
- Color RGB:
(130, 213, 47)
var pbr = new BABYLON.PBRMetallicRoughnessMaterial("pbr", scene);
sphere.material = pbr;
pbr.baseColor = BABYLON.Color3.FromInts(130, 213, 47);
//pbr.baseColor = BABYLON.Color3.FromHexString('#82D52F'); // <--- or use
pbr.metallic = 0;
pbr.roughness = 1.0;
What is should look like:
What it actually looks like: