- Home /
Post-processing overlay effects
Is there a way to make image overlay effects similar to what Photoshop uses? I want to be able to duplicate the current camera view and then use a screen overlay effect. I found this tutorial and got it working but am unsure how to alter the shader to process this kind of image effect that I'm trying to create.
https://docs.unity3d.com/Packages/com.unity.postprocessing@2.1/manual/Writing-Custom-Effects.html
Here's some code I found for possibly creating the screen effect, not sure how to use this to calculate though
fixed4 Screen (fixed4 a, fixed4 b)
{
fixed4 r = 1.0 - (1.0 - a) * (1.0 - b);
r.a = b.a;
return r;
}
Your answer
Follow this Question
Related Questions
How to get quality Depth Of Field effect with Post Processing Stack V2? 1 Answer
Custom post processing 0 Answers
How to properly use RTHandles in HDRP for post effects 0 Answers
Post Processing v2 make the effect visible only on certain layer objects 2 Answers
Post Processing Script doesn't work 1 Answer