Shader directives - help to understand

If the shader CGPROGRAM contains directives:

            #pragma target 3.0
            #pragma exclude_renderers d3d11

when rendered by d3d11 device - would it get switched to FallBack shader?

Please help me with understanding this.

It’ll use the fallback, and / or use another pass that doesn’t exclude d3d11.

1 Like