Hi all, I'm having some major problems with my install of Reshade on Portal 2 (Yes, it was inspired by the release of Portal RTX). To my knowledge, the preset I used shouldn't be outdated and DX9 should be able to work, however my shaders don't load and the two ones that I believe are most responsible for the lack of visual change are failing. The console explains as follows:
19:23:45:359 [02796] | ERROR | Failed to compile "
\SteamLibrary\steamapps\common\Portal 2\bin\reshade-shaders\Shaders\Fubax\Image.fx:
d:\steamlibrary\steamapps\common\portal 2\Shader@0x1E4DDC80(343, 15, -44): error X3535: Bitwise operations not supported on target ps_3_0.
and
19:23:45:376 [11396] | ERROR | Failed to compile "
\SteamLibrary\steamapps\common\Portal 2\bin\reshade-shaders\Shaders\Insane-Shaders\BilateralCS.fx":
\SteamLibrary\steamapps\common\Portal 2\bin\reshade-shaders\Shaders\Insane-Shaders\BilateralCS.fx(28, 9): preprocessor error: syntax error: unexpected new line
The second one I understand its issue as someone who has done programming (seems like the shader author forgot a semicolon lol), but I'm not sure what software I can use to fix the bug myself. As for the first error, does anyone have any idea what's going on and can reccomend a fix for the fist shader? And for the second shader, can I just open it up in a text editor?
Thanks for the help.
EDIT: Figured out the second error, through basic experimentation I found that you can edit the shader code from within ReShade and it was missing comment markers. Still need help with the first shader as it appears to be a runtime error and like I said, I have no idea what I'm doing with that.