Search Unity

Applying Image Effect Shaders to Camera with a Script

Discussion in 'Scripting' started by Cactus_on_Fire, Jun 9, 2017.

  1. Cactus_on_Fire

    Cactus_on_Fire

    Joined:
    Aug 12, 2014
    Posts:
    675
    Hello.

    Is it possible to apply a custom image effect shader to the camera via scripting? I can put a quad infront of the camera and let it render through like so but I'm wondering if there is a more effective solution with implementing the shader using a script attached to the camera.
     
  2. Cactus_on_Fire

    Cactus_on_Fire

    Joined:
    Aug 12, 2014
    Posts:
    675
  3. captin-da

    captin-da

    Joined:
    Aug 17, 2012
    Posts:
    3