That's not a shader, rather just normal OpenGL code. Though you can probably achieve the thing that code does with a shader too... I'm not familiar with HLSL (which A6 uses), just with GLSL so probably won't be able to help you...