DadSchoorse / vkBasalt

a vulkan post processing layer for linux
zlib License
1.23k stars 52 forks source link

Shaders not working in COD2 #96

Open dairefagan opened 4 years ago

dairefagan commented 4 years ago

I posted here previously because I was unable to compile 32b vkBasalt but I now have.

Despite this I noticed no difference in Call of Duty 2, and thinking it may just be that the changes are subtle. I set my vkBasalt.conf in the COD2 game dir to include nightvision which should be very obvious:

`effects = smaa:smaa:cas:colorfulness:denoise:nightvision

colorfulness = /mnt/liberty/games/tools/reshade-shaders-master/Shaders/Colourfulness.fx denoise = /mnt/liberty/games/tools/reshade-shaders-master/Shaders/Denoise.fx nightvision = /mnt/liberty/games/tools/reshade-shaders-master/Shaders/NightVision.fx reshadeTexturePath = "/mnt/liberty/games/tools/reshade-shaders-master/Textures" reshadeIncludePath = "/mnt/liberty/games/tools/reshade-shaders-master/Shaders" depthCapture = off`

My Steam COD2 launch options read:

ENABLE_VKBASALT=1 PROTON_NO_ESYNC=1 PROTON_USE_D9VK=1 %command%

and I use Proton-5.9-GE-3-ST.

Still in game I see no Nightvision effect, even when I have tried pressing the Home key. Is there something I have done wrong here? If I run ENABLE_VKBASALT=1 vkcube I do see the nightvision shader.

Also, is it possible to set the vkBasalt.conf to use a Reshade preset downloaded from the Reshade DB, or would every .fx file have to be configured as above to do so?

DadSchoorse commented 4 years ago

Can you create a log file like descripted here?

Also, is it possible to set the vkBasalt.conf to use a Reshade preset downloaded from the Reshade DB, or would every .fx file have to be configured as above to do so?

No, that's not possible currently.