Search Unity

Question Old Film Grain Effect Like Cuphead

Discussion in 'Shader Graph' started by maormenashe, Dec 11, 2019.

  1. maormenashe

    maormenashe

    Joined:
    Oct 7, 2018
    Posts:
    20
    Hey,
    Can anybody help me with how to create a Old Film Grain Effect similar to the game "Cuphead"?

    Here's a video of the game:


    Thanks.
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Hi,
    You need to look into how to create custom post-processing effects. I think there was earlier some custom master nodes that supported image effect shader graphs on 2018, but it's not possible with 2019.x.
    (See https://forum.unity.com/threads/shader-graph-image-effects-for-the-postprocessing-stack.567115/)

    There's now a lot of difference between the render pipelines so it's best to always list what you are using/going to use when talking about shaders/image effects/custom passes etc.
     
  3. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    Here is how grain is implemented in the rendering pipelines.

    upload_2019-12-11_22-7-51.png

    You can translate this directly to shader graph and use it, works perfectly.

    As stated above, you probably want it as a post processing effect. Using the new post processing volume system in the rendering pipelines you can add grain as an image effect though. No need to use shader graph.
     

    Attached Files: