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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question URP 14 Full Screen Pass -- can we use volumes with these?

Discussion in 'Universal Render Pipeline' started by chemicalcrux, Mar 19, 2023.

  1. chemicalcrux

    chemicalcrux

    Joined:
    Mar 16, 2017
    Posts:
    710
    URP 14 added a nice render feature for doing full screen passes. However, I don't see any way to integrate this with the Volume framework.

    In my case, I want to control the intensity of my fog effect with volumes.

    Before 14, I used this guide to do volume-based post processing, and I can definitely do it again -- but it'd be nice if I didn't have to write all of that stuff :)
     
  2. chemicalcrux

    chemicalcrux

    Joined:
    Mar 16, 2017
    Posts:
    710
    I wound up creating the following things:
    • A custom volume component
    • An instance of the full screen pass renderer feature
    • A singleton behaviour that looks at
      VolumeManager.instance.stack
      and uses that information to set values on the material the full screen pass is using
    That worked very well!
     
    DevDunk likes this.