!!ARBfp1.0 # # Fragment program to demonstrate OpenGL "fragment.color" # fragment attribute. This contains the regular, lit color # computed by OpenGL's lighting model. # # Orion Sky Lawlor, olawlor@acm.org, 2005/2/7 (Public Domain) # PARAM b={10,10,10,1}; TEMP t; MUL t, fragment.color, b; FRC t,t; MOV result.color, t; END