Question by
Honigeintopf · Apr 24, 2019 at 04:48 PM ·
post processingpost-process-effectpostpost-processingpost effects
Change Depth of Field in Unity while Runtime
I want to change the Depth of FIeld Focal Length of my Post-Process Volume, when my ball hits too many Obstacles.
I cannot really acces the Value of the Post processing DOF even tho I tried it in Update with properties like
dof.value = Mathf.Lerp(1f,20f,speed); etc...
But it just isnt't getting to the Point I want it to. I have already tried the Quickvolume guide, but that also didn't work.
Comment
Your answer
Follow this Question
Related Questions
Color Grading: Some Curves don't affect color shifts made using Linear Trackballs 0 Answers
how to get postprocessing parameters 0 Answers
[HELP] Post Processing Stack v2 + Cinemachine - How to track focus on target like PPSv1? 0 Answers
possible Depth of Field Error? 1 Answer
Post Processing bloom and vignette are pixelated and squared 2 Answers