in BlurEffect.cs, BlurRays(), the pseudocode being
for x
for y
averageDirection = average of neighborhoods of rayCount size around rays(x,y)
write into rays(x,y)
because it writes into rays(x,y) immediately, subsequence rays which are within the neighborhoods e.g. (x, y+1) will get the modified result instead of the original direction values.
in BlurEffect.cs, BlurRays(), the pseudocode being for x for y averageDirection = average of neighborhoods of rayCount size around rays(x,y) write into rays(x,y)
because it writes into rays(x,y) immediately, subsequence rays which are within the neighborhoods e.g. (x, y+1) will get the modified result instead of the original direction values.