"Allowing the compositor to touch the scene with occluded() as it does is a bit messy."
Totally agree.
At some level the compositor "knows" which surfaces went into compositing. It ought to be able to determine whether these have unrendered surfaces without a mutating "touch".
"Allowing the compositor to touch the scene with occluded() as it does is a bit messy."
Totally agree.
At some level the compositor "knows" which surfaces went into compositing. It ought to be able to determine whether these have unrendered surfaces without a mutating "touch".