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

How can i control post processing effect through script? (URP 2D)

$
0
0
So in my project, i am using the ***Universal Render Pipeline*** with post processing enabled via adding a volume component to an empty game object, the volume component lets you to add **overrides** ("or post processing effects") and you can control the values of these overrides from the editor, but i would like to control the values of these overrides through **scripts**, ((*for example, when a `bool PlayerTookDamage` is set to `true`, i want to change the vignette color to a specific HEX, or set the chromatic aberration intensity to a `public float ChromAbIntensity;` , or deactivate the bloom effect for a certain amount of time*)) How can i do this? Pleases leave your answers down below, that would be greatly appreciated :)

Viewing all articles
Browse latest Browse all 713

Trending Articles



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