Blender Git Loki
Git Commits -> Revision e47e60a
Revision e47e60a by Clément Foucault (master) June 4, 2018, 13:15 (GMT) |
Workbench: Shadows: Fix the remaining fail case. Non-manifold geom was producing inverted result when the camera was inside the shadow volume. When rendering non manifold geometry with the depth fail method, we need to emit the cap as if it was the same geometry with a virtual thickness. Another way to view it is to imagine having a set of non-manifold geometry all facing the light. So for every tri we emit a front cap oriented toward the light and the back cap pointing away from it (whatever the actual orientation of the tri). Extrusion pass stay the same as the depth pass method (double the increment if it's a manifold edge). |
Commit Details:
Full Hash: e47e60a9b9692ed0e0fc0397e2841f9d547847c4
Parent Commit: 736a84e
Lines Changed: +19, -23