Quake II RTX doxygen  1.0 dev
arbfp.h
Go to the documentation of this file.
1 static const char gl_prog_warp[] =
2  "!!ARBfp1.0\n"
3  "OPTION ARB_precision_hint_fastest;\n"
4 
5  "TEMP ofs, coord, diffuse;\n"
6  "PARAM amp = { 0.0625, 0.0625 };\n"
7  "PARAM phase = { 4, 4 };\n"
8 
9  "MAD coord, phase, fragment.texcoord[0], program.local[0];\n"
10  "SIN ofs.x, coord.y;\n"
11  "SIN ofs.y, coord.x;\n"
12  "MAD coord, ofs, amp, fragment.texcoord[0];\n"
13  "TEX diffuse, coord, texture[0], 2D;\n"
14  "MUL result.color, diffuse, fragment.color;\n"
15  "END\n"
16 ;
17 
gl_prog_warp
static const char gl_prog_warp[]
Definition: arbfp.h:1