Raytrace light leeks
Hello I have a problem with leeking light with raytrace distance field shadows. I want to render scene from inside of closed coffin, then it will be opened, but the light leeks inside the closed coffin. The upper lit is other mesh but there are no holes to let the light in. Here are some screenshots:
The outside of coffin.
Light leeks inside coffin
Visualisation of Distance field mesh (inside the coffin)
asked Dec 05 '15 at 01:08 PM in Rendering
When using Distance Fields for shadowing you may need to increase the resolution of your mesh so that it can have better resolution for it's Mesh Distance Field. You can see this in this documentation here: https://docs.unrealengine.com/latest/INT/Engine/Rendering/LightingAndShadows/DistanceFieldAmbientOcclusion/index.html#troubleshootingandquality
I made a simple asset like a coffin and this tried tweaking some values, but it can be difficult to get something like this to have 100% completely accurate shadowing. I had a little bit of light leak in mine and this can be remedied to a certain point, but not completely by increasing the DF resolution scale.
In your example above, the light leak at the top looks like it's partly caused by the overlapping of the top part of the coffin with the lower half. So that part can probably be reduced by just making sure that there is no overlap happening quite like that.
I hope this helps clear up some of the issues you may be seeing.
answered Dec 10 '15 at 08:16 PM
Tim Hobson ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here