Hello,
Im trying to make a website using babylon.
But after my mesh undergoes multiple subtraction my all mesh which are in the subtraction operation or others all becomes dark.
I have tried all fixes -
- regenerate normals
- generator.useContactHardeningShadow = true;
generator.contactHardeningLightSizeUVRatio = 0.01;
this.light0.shadowMaxZ = 150;
this.light0.shadowMinZ = 5;
generator.useContactHardeningShadow = true;
generator.contactHardeningLightSizeUVRatio = 0.05;
and many more from the formus.
The only way the mesh don’t go dark is by lowering filteringQuality but after that the meshes stops casting shadow.
Adding a video as i am not able to regenerate it on playground.
https://webkul.chatwhizz.com/share/view-recording/6981d71237984d06a4435cc6