I did a lot of work and finally was able to create shadows so that i will have live shadows and block light from passing throught blocks (caves are now dark and dont light up with the sun). But the problem im getting now is that on the surface and at night i have static shadows and 2 shadoes on the same block (The image shows 2 shadows for the tree and one of them is a static stadow on the corner which is used to make the caves dark). But i only want the live shadow and this doesnt look good.
I think at this point nobody knows how you have setup your static/dynamic shadows so helping is going to be very difficult.
If you really need the static shadow you have to exclude surface objects somehow from rendering to the shadowmap.
1 Like