!!ARBfp1.0 # # Fragment program to demonstrate OpenGL "fragment.texcoord" # fragment attribute. This contains the texture coordinates # computed by glTexGen or passed to glTexCoord. # # Orion Sky Lawlor, olawlor@acm.org, 2005/2/7 (Public Domain) # PARAM b={10,10,10,1}; TEMP t; MUL t, fragment.texcoord, b; FRC t,t; MOV result.color, t; END