// 1. Define Inputs and Outputs input image4 src; // The source image output pixel4 dst; // The resulting pixel
void evaluatePixel() pixel4 src = sampleNearest(src, outCoord()); pixel bender toolkit
Pixel Bender remains one of the best ways to dip your toes into GPU programming without the massive overhead of setting up a modern Vulkan or DirectX environment. pixel bender toolkit
pixelbendercompiler grayscale.pbk grayscale.pbj pixel bender toolkit