Blender Git Loki
Git Commits -> Revision be5c987
Revision be5c987 by Sergey Sharybin (cycles-x) May 4, 2021, 13:13 (GMT) |
Cycles: Refactor shadow catcher ray visibility Allow to "filter" shadow catcher objects by any of the visibility (diffuse, glossy, and so on) to allow complete separation of objects in the scene. Implemented as a bitmask shift magic: shadow catcher objects have their visibility "duplicated" as a shift left by 16. The ray visibility for tracing will use either low or high visibility bits depending on whether shadow catcher object was hit or not. Currently no functional changes, just committing separately to make it easier to bisect possible unintended functional changes. Initial idea implementation from Brecht, adopted to the shadow catcher code by self. Differential Revision: https://developer.blender.org/D11158 |
Commit Details:
Full Hash: be5c9872671ef12c9c1295a5481d6f0682350230
Parent Commit: 385c40b
Lines Changed: +126, -83