Note: I put an RTX card in the classroom computer The resolution is acting weird Hopefully I'm in time to play with that... Alright, first task: Import the buffer from last time into a fragment shader We'll need a demo that actually renders something Sorting, basically Did it work? Let's try some different sampling approaches Also modify the image with a compute shader Can we produce a shifting effect of some sort? Did it just totally fail? Well, that's disappointing Here's a lenthy approach that's not really very good: Copy to a buffer on the card Run the compute shader Copy back Make a texture object Use the texture object in the fragment shader Either way: render-to-texture is maybe a more expected way to do this Map-Reduce: Suppose we're going to calculate the average of each r, g, and b We'll have to put the results somewhere And engage many shaders Won't that lead to a single-thread process to finish? Not if we can summarize with less shaders than pixels!