diff options
Diffstat (limited to 'materialsystem/stdshaders/rift_ps11.psh')
| -rw-r--r-- | materialsystem/stdshaders/rift_ps11.psh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/rift_ps11.psh b/materialsystem/stdshaders/rift_ps11.psh new file mode 100644 index 0000000..8b1912d --- /dev/null +++ b/materialsystem/stdshaders/rift_ps11.psh @@ -0,0 +1,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 |