summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/rift_ps11.psh
blob: 8b1912ddb1520b455835c4551efb0b1b30a46312 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ps.1.1

; t0: 
;		texture: dudv map
;		texcoords: dudvmap texcoords
; t1:
;		texture: refraction render target
;		texcoords: 

tex t0				; refraction
tex t1				; sample alpha channel

mul r0.rgb, t1, t0 +
mov r0.a, t1.a
 
mul r0, r0, c0