Shadow on translucent material disappear at distance
I'm not sure if this is a bug, setup issue or intended behavior so any input is appreciated.
The first image of Saturn is the desired result. Up close the planet looks as intended with the body of the planet casting a shadow on the rings. When the camera is moved further away or at certain angles the shadow will "fade away" until it there it is no longer darkened at all.
The rings are a translucent material while the body of the planet is solid. It should be mentioned that the planet is very large (~400 units?) and normally quite far away. Making the planet small and close doesn't fix the issue and moving far away will have the same result at a certain distance or viewing angle. I have toggled every option in the material and meshes relating to shadows and translucent materials and still can't seem to get this working.
In the second photo you can see that moving away from Saturn will cause the shadow to dissipate and it will eventually disappear all together. This also seems to occur even when not moving further away but instead rotating the camera in certain ways. The shadows seem to disappear when the camera is rotating 'away' from them so the camera is pointing in the same direction as the light source.
When moving away from the planet from behind the shadow the shadow's edge nearest the planet moves back towards the outer edge with a square edge. If you need more images I can provide them (Can only upload 2).
If there is something new or obvious that can resolve this I would love to hear it. Hopefully the issue is on my side. If this is intended then I would appreciate knowing so I can focus on an alternative method.
Thanks for your time,
P.S. I recently noticed that shadows cast on the planet from the rings were quite pixelated. Upon further inspection of the shadow I noticed the work "Preview" shows up inside the darkness of the cast shadow albeit small.
You are going to use dynamic lighting for this i suppose? If that is correct, is your light set to Movable? You should play with the light's values(most probably Cascaded Shadow Maps settings) for this one.
Really nice looking Saturn, btw!
answered Mar 24 '14 at 05:55 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here