Ah, thank you! I cam across this as well and have reached the same wall as how to use this since I barely know how GLSL works as well.
The only other method I could find was someone recommended was to use RenderToTexture, and I tried to do that but there doesn’t seem to be a way to force blender (in this mode) to render without AA, and it seems like it’s tied to the window size. I looked through the API and the “scale” function is supposed to implement nearest neighbor scaling for video textures, but I am not sure how to implement it.
Also here’s an example of how using RenderToTexture does lowers the resolution, but it’s still blurry
I’ve been considering even making some sort of wrapper as an extension of the game exe itself to just resize the game that way and circumvent this problem, but I have no idea how to do that either.
here’s another closeup of the thing where there is a slight transparency that happens along the edges that has been driving me nuts.
So far the best way I can think of fixing this is by altering the pixelate filter in the OP to make the edges not blurry but I can’t figure it out.