Using Stencil buffer

Thanks a lot for the detailed explanation. But I have another question, how did you create a translucent material so that you have active inputs. With this type of material, my inputs are inactive