anyone know efficient way to do special GussianBlur whose blur-radius&weight varying by UV?
Unless there’s something special about exactly how they vary by UV, you can’t optimise this. You just have to iterate over the N×N neighbourhood for each fragment.
1 Like
Thanks! I agree with you, and do you know some shader combine DoF and MotionBlur together which is similar to the real algorithm is OK