Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question How do you change Post-Processing Injection Point?

Discussion in 'High Definition Render Pipeline' started by ChiliStudio, Sep 17, 2020.

  1. ChiliStudio

    ChiliStudio

    Joined:
    Jan 19, 2018
    Posts:
    33
    How do you make a post process volume / shader that is injected before post processing? It only lets me put my FogLayers post in After-Post Processing.



    Thank you!
     
  2. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    You C# custom PP script should have line like:
    Code (CSharp):
    1. public override CustomPostProcessInjectionPoint injectionPoint => CustomPostProcessInjectionPoint.AfterPostProcess;
    just change that to BeforePostProcess and it'll show available on that section.
     
    ChiliStudio likes this.
  3. ChiliStudio

    ChiliStudio

    Joined:
    Jan 19, 2018
    Posts:
    33
    Perfect. Thanks :)