Pixel Bender Toolkit !exclusive! [UPDATED]

input image4 src; output pixel4 dst;

<languageVersion : 1.0;> kernel GrayscaleFilter < namespace : "MyFilters"; vendor : "YourName"; version : 1; description : "Converts image to grayscale"; > pixel bender toolkit

pixel4 p = sampleNearest(src, outCoord()); float gray = (p.r + p.g + p.b) / 3.0; dst = float4(gray, gray, gray, p.a); input image4 src; output pixel4 dst; &lt;languageVersion :

Adobe officially discontinued the years ago (last version was around CS5/CS6 era). It was a technology for creating custom image-processing filters (shaders) for Photoshop, After Effects, and Flash Player. input image4 src

Would you like a conversion example from Pixel Bender to GLSL or a guide to writing similar filters in modern Photoshop with JavaScript?

void evaluatePixel()