This does of course work with single shaders. I recomment you to use the Lite-C stages and include some Lite-C code next to your C-Script lines. It is so much more flexible and you do Not have to care about changing resolutions.