So I am using
this.gameObject.Addcomponent ();
to add the BlurOptimized script to my camera on start. When I do that though, the shader is not added to it and I get a bunch of errors.
How do I set the shader and change other parameter such as blur iterations?
Much appreciated