Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-08Cleanup: rename 'ct' to 'len' for editorsCampbell Barton
2018-06-04Workbench: Shadows: Fix the remaining fail case.Clément Foucault
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).
2018-05-27Workbench: Shadow: Add shader variant for manifold case.Clément Foucault
Totally Manifold objects only require a single increment/decrement of the stencil value. This result in less geometry generated and less overdraw.
2018-05-20Workbench: Shadow: Add Depth Fail methodClément Foucault
Also add new debug visualisation. Depth fail method is not used for the moment but has nice benefits. It will be used efficiently in the future.