diff options
author | Zack Rusin <[email protected]> | 2007-11-09 10:08:15 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-12-11 09:49:34 -0500 |
commit | 63a9d835ce3f446fe2cf69e7623d228bcc6ee91c (patch) | |
tree | cb5510c598ab0cc0fd79417ab77a2be2b948e705 /progs/fp/sin.txt | |
parent | 025b140b2fd6860039a0d4b545130751473563c5 (diff) |
Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small
binaries
Diffstat (limited to 'progs/fp/sin.txt')
-rw-r--r-- | progs/fp/sin.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/fp/sin.txt b/progs/fp/sin.txt new file mode 100644 index 00000000000..4a8cdb69f98 --- /dev/null +++ b/progs/fp/sin.txt @@ -0,0 +1,8 @@ +!!ARBfp1.0 +TEMP R0; +MUL R0, fragment.color, {3.14}.x; +MOV result.color, {0.0}.x; +SIN result.color.x, R0.x; +SIN result.color.y, R0.y; +SIN result.color.z, R0.z; +END |