I have a problem with our ThreeJS PBR. I have created a simple threeJS on ThreeJS Editor project with two cubes where I set a PBR material on both cube with the following textures:
- My ORM map used in the OA map, used for the metalic map, and the roughtness map and the AO map.
- My normal map
- My base color map The left cube has the metalness to 0, et the right one has the metalness to 1.
Here is the result with an ambiant light, the right cube is wierd, the output of the lighting doesn't match with what we want. Here is the result with a directionnal light, where the output of the right cube has a correct lighting
Why the output of my PBR lighting is wierd on a ambiant light ? But works with a directionnal light ?