- Home /
Post Processing DoF Give Pink Screen ?
Hi all,
I tried playing around with the post processing stack today, following this tutorial:
https://www.youtube.com/watch?v=a0OQvWAPeuo∈dex=10&list=PLPV2KyIb3jR4GH32npxmkXE-AHnlamcdG
However, when I got to the depth of field setting I got a pink screen on testing the game. Also, the DOF effect doesn't to apply in scene view either (although I don't get a pink screen in scene view).
From reading about "pink" in Unity it seems to be a shader that doesn't render. Any idea how to solve this ? I admit that shaders are still some dark arcane magic to me.
These are the settings I'm using in the post-processing profile:
I also disabled anti-aliasing in the Quality settings. Enabled HDR (and disabled it, tried both) on the camera, and enabled deferred rendering.
Thanks
Answer by Sorade · Jun 20, 2017 at 06:53 PM
Apologies for that... with a bit more playing around I managed to fix it. Just moved the post-processing asset folder back under asset rather than a sub directory and that seemed to fix it. Still impossible to see the effect in scene view though so it's a bit of trial and error to get it to give a good effect.
Strange, this helped me too. Why does this matter? I usually make an "imports" folder under "Assets" to organize everything I import.
Same here, I usually try and sort out the assets from imports into my own asset folders when I have played with it a bit. For some reason this one didn't work though. I suspect some scripts might contain path using the Assets/Post Processing Stack/ directory as home directory.
Your answer
Follow this Question
Related Questions
New Unity Project "3d With Extras" . Grey fog/mist type effect undesired ... How to remove/alter it? 1 Answer
Adding an image effect at run time with script usingUnity 5 1 Answer
Planar reflection is getting cut off when using camera with an oblique viewing frustrum 0 Answers
Light Glare Effects 2 Answers
URP: How can I view ScriptableRendererFeature in scene view? 1 Answer