OnRenderImage copy parts of a rendertexture to the destination
I am trying to create a post process effect that will blur specified parts of the screen. I am using the code from Blur Optimized to create a blurred render texture from the source. All of that works fine but now I can't seem to figure out how to mask or copy the blurred texture so that I only get the parts I want blurred. I've tried using Graphics.DrawTexture but that doesn't seem to do what I want. Does anyone know how I could go about this?
Any ideas would be helpful.
Your answer
Follow this Question
Related Questions
CEFGlue with Unity 1 Answer
How to change blur based on mouse X position? 0 Answers
Unity 2019.3 - Can't figure out how to remove ambient lighting from GUI.DrawTexture 0 Answers
Graphics.DrawTexture with a shader using GrabPass crashes Unity editor 0 Answers
Camera depth causing RenderTexture issue 0 Answers