<div dir="ltr"><div>Hi Felipe,</div><div><br></div>I am well aware of what unreal engine 4 does.<div><br></div><div>The problem with distance field is accuracy. It's great for smooth really blurry shadows but not for very detailed sharp shadows.</div><div>There is a lot to consider when using SDF, storage is one of them. To keep memory usage low enough, we would have to use streaming and LOD system. So complexity is a problem.</div><div><br></div><div>Also as you mentioned the SDF does not works with deformable meshes. But in Blender there is not only armature that are deformable. The whole modifier stack can deform the mesh and therefore the shadows. For animated deformed objects it would require recomputation every frame.</div><div><br></div><div>Also precomputation time is prohibitive too. There is simple methods but only for manifolds meshes.<br></div><div><br></div><div>I wish that SDF shadows could have been the solution but it's a whole new dimension of problems.</div><div><br></div><div>Thanks for pointing it out though, it's true that I did not mentioned it in the report.</div><div><br></div><div>Regards,</div><div><br></div><div>Clément</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-04 18:32 GMT+02:00 Felipe Botero <span dir="ltr"><<a href="mailto:boterock@gmail.com" target="_blank">boterock@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello,<br><br></div>I am no expert on the topic, but I know that in UE4 they use Distance Fields for blurred shadows, this has the disadvantage that meshes' distance fields need to be built, but it seems to solve the problem, and also allows them to use the distance fields for AO.</div><div><br></div><div>Maybe having DF shadows disabled while in edit mode, but enabling them in object mode maybe would work, and building the distance field in the background if the mesh changed.</div><div><br></div><div>Also for skeletal meshes they also have smoothed shadows, but they don't use mesh data but instead a PhysicsAsset data (which is basically the capsules or other primitives used when simulating a ragdoll), maybe in blender for those meshes the skeleton envelope could be used.</div><div><br></div><div>Thank you for your time, and keep up your fantastic work!</div><div><br></div><div>- Felipe Botero<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Sep 4, 2017 at 8:39 AM, Clément FOUCAULT <span dir="ltr"><<a href="mailto:foucault.clem@gmail.com" target="_blank">foucault.clem@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi guys,<div><br></div><div>As you may have noticed I had some trouble one week ago and did not commited anything. This is because I was trying to get the most awesome shadows out of shadow maps.</div><div><br></div><div>Foolish of me to think this had not been attempted before. I reckon having lost a bit of time before doing research.</div><div><br></div><div>But long story short: There is no good, easy, fast solution for realistic soft shadows. By this, I mean contact hardening soft shadows. Fixed size penumbra shadows will be implemented (they already are).</div><div><br></div><div>A more complete explanation of what I tried can be found here: <a href="https://wiki.blender.org/index.php/User:Hypersomniac/Dev_reports/Soft_shadows_failure#Soft_Shadow_Map_Faillure" target="_blank">https://wiki.blender.org<wbr>/index.php/User:Hypersomniac/<wbr>Dev_reports/Soft_shadows_<wbr>failure#Soft_Shadow_Map_<wbr>Faillure</a></div><div><br></div><div>If someone is feeling more confident on this and want to take a shot at it, please do and get in touch.</div><span class="m_3575531619203022132HOEnZb"><font color="#888888"><div><br></div><div>Clément</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
Bf-viewport mailing list<br>
<a href="mailto:Bf-viewport@blender.org" target="_blank">Bf-viewport@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-viewport" rel="noreferrer" target="_blank">https://lists.blender.org/mail<wbr>man/listinfo/bf-viewport</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Bf-viewport mailing list<br>
<a href="mailto:Bf-viewport@blender.org">Bf-viewport@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-viewport" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-viewport</a><br>
<br></blockquote></div><br></div>