Original Post
Hey I'm pretty new to direct x shaders and am trying to grab a better handle on them. I understand plenty of things about them but there are some parts that I just don't know how to do. Conceptually I feel like I understand all the effects I'm looking to do but I don't know what I'm supposed to do in actual code. What I mean is I don't really know how to go about getting the previously rendered frame to do effects with and merge with my current. The easiest one I saw was to just get the previous 4 frames (or however many) and meld them at a small rate with the current to get a cheap motion blur going. From there I feel like I can go on and on and on with all sorts of cool stuff but I don't know how to get there. I know I'm going to get a 'try the search bar' but nothing I could find really helped, they were just the shaders and not how to get the actual frame itself. I'd really appreciate any and all help anyone can give me. I was also wondering how the pixel kernel worked, i always see that in blur shaders but I don't really understand 100%? Is that supposed to be like a reference to the current pixel and a range in one direction around it? Like if it ranged from -6 -> 6 I'd be modifying 6 pixels left and 6 pixels right ( assuming a horizontal pass )?