Created
July 31, 2011 04:27
-
-
Save jalava/1116391 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FC0 = 0,0,0,0 | |
FC1 = 1,1,1,1 | |
FC2 = 0.7,0.7,0.7,0.7 | |
"mov ft2, fc0\n"+ | |
"add ft2.xy, ft2.xy, v0.xy\n"+ | |
"dp3 ft2.x, ft2.xyz, ft2.xyz\n"+ | |
"sqt ft2.x, ft2.x \n"+ | |
"mul ft2.x, ft2.x, fc2.x \n"+ | |
"sub ft2.x, fc1.x, ft2.x \n"+ | |
"sat ft2.x, ft2.x \n"+ | |
"tex ft1, v0, fs0 <2d,linear,clamp>\n"+ | |
"mul ft1.xyz, ft1.xyz, ft2.xxx \n"+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment