I am working with very thin wall objects. I am having problems with shadows on these objects. If you look at the attached screenshot, you will see a banding effect. Those bands are not the material. Those bands are an artifact of the shadow on the dark side of the object. The bands will disappear if I make the object thicker, but that is not a viable solution.
After much researching, I found that I can eliminate the banding if I make the lightObj.shadow.bias value slightly negative. I was able to do this with a little code:
v3dApp.scene.getObjectByName(“Lamp2”).shadow.bias = – 0.001;
At this level of bias, the artifacts disappear and the shadows are still reasonably attached to their objects. See the “noshadowbias.png” screenshot.
I had to make this adjustment in the JavaScript because the Verge3d bias setting in Blender must be zero or greater.
If anyone has a different suggestion for shadows on thin objects, I would be happy to have them. If not, may I request that the Verge3D Blender plugin allow negative values for shadow bias?
Thanks,
Jem