How do I create a material that only renders to one eye in URP?

I can't select target eye in URP. I tried set stereoTargetEye in code but it doesn't work . How do I create a material that only renders to one eye in URP?

Maybe a custom shader? Never tried, but might work:
https://docs.unity3d.com/Packages/com.unity.shadergraph@12.0/manual/Eye-Index-Node.html