Hello there.
I use the material wrapper for a matte surface sampling shadows and reflections only. Like photo canvas with shadows and reflections but transparent. Settings: affect alpha and alpha contribution -1…, rendered with the bucket method. The quality of the shadows is very poor though. The rendered image (RGB) looks fantastic, no noise anywhere but alpha only…
AO pass is just perfect, shadow pass as well… I use the shadow pass as reference only. I don’t compose the passes in post…
Is there a way how to control the sampling amount on the wrapper only?
Btw. the alpha pass looks in the vray buffer great while rendering with the progressive method.
Thx for the any hint.
Kind regards.
EDIT: the alpha is much much clearer rendering with the progressive method. 2,5k image, rendered for 25min.
You can build something very simple as soon as you can reproduce the issue with it. Or you can dramatically strip your scene. Also If you don’t want to share it here you can send it to support@chaosgroup.com
THX I’ll give it a try…
EDIT: Went up to 100 - no effect. Which is sort of obvious. I don’t see here the connection to the number of samples. The one, that could work, is tweaking the light… will report.
EDIT 2: Denoiser seems to ignore the wrapper material … It has no effect, or at least for me, on the noise in alpha
Nope - changing texture samples on the dome light - I use a dome light with a hdri btw. - does not affect the alpha noise. And even with a noise threshold of 0.005 in the bucket image sampler, it’s noisy. Less noise, but too much for my likin’.
Thank you for providing the scene. According to my rendering the shadow noise levels are identical in both cases (the RGB without matte and in the Alpha with matte). The alpha might look grainier because of the black background.
Keep in mind that the dome light scatters the lights in all directions so it needs more sampling in order to generate smoother shadow. Therefore you might need to decrease the noise threshold even more.
You can denoise the Alpha element in the standalone Denoiser tool. Make sure to denoise the 'RGB with all elements (including the alpha) at once rather then the Alpha alone.
Meanwhile I’ll make a note to include a denoise option for the Alpha render element.
An update: We decided to denoise the alpha automatically with the RGB without adding an option.
For the denoiser tool, if the elements to be denoised are specified with the -denoiseElements option or the GUI, the alpha is not denoised automatically, only if it’s selected (just like before). Otherwise, if the elements are not specified, the alpha will be denoised automatically.