summaryrefslogtreecommitdiff
path: root/Shaders/sslr.diff
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-03-16 16:03:52 -0400
committerAndrew Opalach <andrew@akon.city> 2026-03-16 16:03:52 -0400
commita6fcd3f4c75651e08c4392dea8a77b7fed1c2fe5 (patch)
treebe60df9efc6961ceb2e96b8411a688ec4e5ed4d6 /Shaders/sslr.diff
downloadWorldTuningTool-a6fcd3f4c75651e08c4392dea8a77b7fed1c2fe5.tar.gz
WorldTuningTool-a6fcd3f4c75651e08c4392dea8a77b7fed1c2fe5.tar.bz2
WorldTuningTool-a6fcd3f4c75651e08c4392dea8a77b7fed1c2fe5.zip
Outline of new features
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'Shaders/sslr.diff')
-rw-r--r--Shaders/sslr.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/Shaders/sslr.diff b/Shaders/sslr.diff
new file mode 100644
index 0000000..041d01c
--- /dev/null
+++ b/Shaders/sslr.diff
@@ -0,0 +1,15 @@
+--- a/sslr.asm 2026-03-16 15:19:48.982185265 -0400
++++ b/sslr.asm 2026-03-16 15:19:28.862978198 -0400
+@@ -246,6 +90,12 @@
+ mov [precise(zw)] r0.zw, l(0,0,0,0)
+ ld_indexable [precise(yw)](texture2d)(float,float,float,float) r1.xyzw, r0.xyww, t4.xyzw
+ ld_indexable [precise(xyw)](texture2d)(float,float,float,float) r2.xyzw, r0.xyww, t5.xyzw
++ ieq r4.x, r2.w, l(0x3d60e0e1)
++ and r4.x, r4.x, l(0x00404040)
++ xor r2.w, r2.w, r4.x
++ ieq r4.x, r2.w, l(0x3cc0c0c1)
++ and r4.x, r4.x, l(0x00c04040)
++ xor r2.w, r2.w, r4.x
+ ld_indexable [precise(xyz)](texture2d)(float,float,float,float) r3.xyz, r0.xyww, t6.xyzw
+ ld_indexable [precise(w)](texture2d)(uint,uint,uint,uint) r3.w, r0.xyww, t7.yzwx
+ mul [precise(w)] r1.w, r1.w, l(255.000000)