Culling Shader

Hi, can a shader make a culling like the “B” example? its possible?, is for an AR project

Thanks!

This other answer should help: