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

Can't see changes on DepthOfField

$
0
0
Greetings.
I am currently working on **HDRP Volume** profiles and I create **Volume** and add **Depth Of Field** to it via script and I can change **Depth of Field** values from script but can't see the effect on camera. When I change values from script can't see the new values at **Depth of Field** area until I move my cursor to **Depth of Field** area at editor. When I move it to area, values are changed but effect is not visible at game.
I am not sure if it is a bug or not. Also `SetDirty` is deprecated, setting `isDirty = true` and setting `DepthOfField.active = true` didn't worked for me.
Unity 2021.3.7f1 Thank you.

Viewing all articles
Browse latest Browse all 713

Trending Articles



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