Can we access the depth/stencil component of the render texture in Cocos creator 3.x?


I have been trying to capture the depth buffer of a rendering stage for an effect that I want to achieve. Any help would be appreciated. I want to use the depth texture as a main texture in a material.