Hello all, I am not new to reshade, but I am somewhat new to writing effects that work across multiple pixels such as sharpening and shading.
I would like to create an effect that has a function which is used several times over across the screen. For example, a simple box blur which runs on neighboring pixels repeatedly to achieve a greater strength. The number of iterations would be user-configurable.
My understanding is that this will be impossible to do with pixel shaders, as they are processed to completion for every pixel, so there is no way for "later" pixels to affect "earlier" ones. Even creating a couple of new buffers and swapping between them would not work. Is this correct? If so, would a vertex or compute shader be more appropriate?
Any advice on how to structure this would be greatly appreciated!
Please Log in or Create an account to join the conversation.