Is transmission / subsuf scattering working correctly?

Well, in the RTX scene absolutely nothing happened. The gradient (plus an added multiplier with a parameter) gets completely ignored on both the sss and two sided foliage. In the Non-RTX scene, it works as the doc describes, the mask/opacity input is there to regulate the strenght of the subsurface scattering for different regions and it have a clearly visible effect.