I am trying to create something like Sketchfab viewer . But I have some issues with the a shadows.
Here is exact model that I am using in the Sketchfab viewer Go to the 3D tab to see it
Now you can see that model has shadows on it, and if you use ALT + LeftMouseButton you can move around the light and the shadows changes.
I have several issues here. First, I thought they are using somekind of HDRI lighting, but model doesn’t have PBRMaterial on it, so I guess that’s not the case. My guess is that they are using point light in that scene. And point light plus hemi light works just fine for the lighting part in my viewer. But after I tried implementing shadows (self-shadowing), I just cannot get shadows to look right (my results are not even bad, they are just NOT xD).
I never completely understood how to use shadows properly. Bias is confusing me, but when needed I always managed to get some result after bunch of tweaking. But in this case, I cannot even get good starting point.
So any suggestions will do. Plus if you have some ideas on how they implemented lighting and what they used, it would be helpful.
Here is a playground with the model, and basic setup I use in my scene.