Why are the grapes I made with PBRMaterial a different color than before?

I previously created grapes using Babylon.js’s PBRMaterial.
When I recently tested the sample again after some time, I noticed that the color had changed compared to before.
I suspect this is due to a change in the specifications, but how can I make it look the same as the original color?
Do I need to turn off isTranslucencyEnabled?

//grapeMaterial.subSurface.isTranslucencyEnabled = true;
grapeMaterial.subSurface.isTranslucencyEnabled = false;

cc @Evgeni_Popov

This PR will fix the problem:

However, you will need to slightly reduce the intensity of the translucency if you want to get closer to your screenshot. After merging the PRs, the result of your PG (without any modifications) is as follows:

This is because we corrected other problems with the transmission calculation in version 8.0 (you can see that the result is wrong in your screenshot because there is no translucency even though it is activated and set to 0.5).

2 Likes