Move some engine required files to the mod mod.
[0ad.git] / binaries / data / mods / mod / shaders / arb / solid_tex.fp
blob1620f86f394cba8bcaab0b60e068a9e7b9110031
1 !!ARBfp1.0
2 #ifdef REQUIRE_ALPHA_GEQUAL
3 TEMP tex;
4 TEMP temp;
5 TEX tex, fragment.texcoord[0], texture[0], 2D;
6 SUB temp.x, tex.a, REQUIRE_ALPHA_GEQUAL;
7 KIL temp.x; // discard if < 0.0
8 MOV result.color, tex;
9 #else
10 TEX result.color, fragment.texcoord[0], texture[0], 2D;
11 #endif
12 END