When baking e.g. the Diffuse pass, use the existing filter logic to disable glossy and transmission closures. This reduces baking time and noise when baking individual components of complex materials.