Quantcast
Channel: Questions in topic: "post processing"
Viewing all articles
Browse latest Browse all 713

Changing 2D URP PostProcessing values Real-Time?

$
0
0
Here's a very specific one: I am trying to get the screen to desaturate and go out of focus when a certain action happens. We are talking about a 2D project that uses URP, and for Post-Processing I use a Volume, of course. However, when I try to assign it in my script that contains the action I want, it says that "Volume" does not exist. This is what I'm using: ` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Rendering.Universal; public class DialogHandler : MonoBehaviour { public Volume vol //This is what it says it can't find }` So, am I supposed to assign something else, or? It's really bugging me out. Thanks!

Viewing all articles
Browse latest Browse all 713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>