it will. render to texture is implemented since a6, afaik. that's the problem, you're fiddling with a shader file which works for 3ds max and you think that it's standard compliant, though it isn't. you need to code some lines in lite-c or c-script to set up a render target.