Initial commit.

This commit is contained in:
Jim Gray
2013-04-04 14:32:05 -07:00
parent ba5c81da32
commit d71d53e8ec
2180 changed files with 1393544 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
xps.1.1
tex t0 ; normal map + gloss map
texm3x2pad t1, t0_bx2 ; u = t0 dot (t1) light vector
texm3x2tex t2, t0_bx2 ; v = t0 dot (t2) half vector
; fetch texture 4 at u, v
; t2.a = (N dot H)^16
mul r0, t0.a, t2.a ; (N dot H)^16 * gloss value