Project CARS 3

File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

Numerous shadertweaks see description
a custom shader (3dmigoto) for tonemap
and bumpmapping

Permissions and credits
Changelogs
- description

Compromises that's pretty much where it's at with
slightly mad's latest iteration of project cars.
A significant part of this mod tries to normalize
the cockpit view to that of the other camera angles
in terms of brightness and exposure but it is a
best effort at most. (please check the screenshots)

Next to that there are a number of tweaks to effects
like dof, rain (mist), high speed vignette and the
slightly annoying red flash when crashing.

If you do not like specific tweaks please see 'further tweaking'
for disabling specific shader tweaks.

update 28/11/2022
- with regard to the dissolving of 'project cars' by EA
  the last update 'ball du match' as the french say...
- a custom shader upscale.hlsl (3dmigoto) replaces reshade
- tested on windows 10 (v1903)
- added puddle tweak
- reworked mist banks, car headlights and darkness in cockpit

3dmigoto shader tweaks:

< general non cockpit specific >

- reduce intensity godrays
- reduce rain mist and regular mistbanks
- reduce vignette higher speeds car also removes red collision vignette
- remove dof replay
- disable dof forced even if disabled in settings
- disable blur or dof horizon
- reduce bloom
- slightly adjusted strength and narrowed cone of cars headlight

< cockpit specific >

- increase global light evening and night when needed used for to dark cockpit view
  also effects daytime and all weather conditions effects all camera views
- decrease brightness sky clouds and to a lesser degree environment
  effects all camera views note r1.w
- increase artificial light night time works on specific tracks
  effects all camera views
- reduce snow glare on front windscreen cockpit view also effects rain and scratches
  and reflection of bonnet plus decrease overbright view
- remove stickers top part windshield (only in cockpit view)

Note(s):
The  package has a customized shader 'upscale.hlsl' which
does some fullscreen tweaks as bump mapping and color modification
see 'further tweaking' if you want to disable it.

Also upscale.hlsl adds a slight curve to the screen.

- updating to v1.6

if the old package was installed remove the following
folder(s) and file(s) in the folder which contains pCARS3.exe

reshade
shadercache
shaderfixes

d3d11.dll
d3dcompiler_46.dll
d3dx.ini
dxgi.dll
dxgi.ini
ReShade.ini

- install

Copy the contents of the zip file to the install folder of
project cars 3, the folder which contains pCARS3.exe

- optional install

The following instructions are only needed
if you do not like using unverified dll's you can:

download 3dmigoto from:
https://github.com/bo3b/3Dmigoto/releases
download version 1.3.16 and place the following dlls in the install dir of
project cars 3:
d3d11.dll (64bits)
d3dcompiler_46.dll
then copy `d3dx.ini, ShaderCache and ShaderFixes from the zip file to the same dir aka folder.

note: if you choose to use the d3dx.ini contained in the github package
make sure to set (line 248):
hunting=0
the default setting is:
hunting=1
which sets 3dmigoto to a debug mode.

- verify

After running the game the folder ShaderFixes should contain the .bin versions:

061ef6dbd7c1dcab-ps_replace.bin
12ca729b5e6302e1-ps_replace.bin
1ee46904cfee1626-ps_replace.bin
310878496f8d3131-ps_replace.bin
3a80afccfe3779b9-ps_replace.bin
3f4543a24de1f62f-ps_replace.bin
6b8f3241d7d87e02-ps_replace.bin
7b951c36ce974b7d-ps_replace.bin
8ab943fb834eabff-ps.bin
8ce41a380bdd5cad-ps_replace.bin
98280f08f31abd9c-ps_replace.bin
98ffe2925bc35222-ps_replace.bin
99c369d454b6e84c-ps_replace.bin
9be570559741d59f-ps_replace.bin
b58390dec2e5d993-ps_replace.bin
bf534f49771de07e-ps_replace.bin
c6680fbc4f27241f-ps_replace.bin
c98bd56e8669ca6e-ps_replace.bin
d7db024a726257e5-ps_replace.bin
d9a2383f4642090d-ps_replace.bin
e4c6a17fc1ab3859-ps_replace.bin
fcd22d2eb7c0b6d2-ps_replace.bin

of

061ef6dbd7c1dcab-ps_replace.txt
12ca729b5e6302e1-ps_replace.txt
1ee46904cfee1626-ps_replace.txt
310878496f8d3131-ps_replace.txt
3a80afccfe3779b9-ps_replace.txt
3f4543a24de1f62f-ps_replace.txt
6b8f3241d7d87e02-ps_replace.txt
7b951c36ce974b7d-ps_replace.txt
8ab943fb834eabff-ps.txt
8ce41a380bdd5cad-ps_replace.txt
98280f08f31abd9c-ps_replace.txt
98ffe2925bc35222-ps_replace.txt
99c369d454b6e84c-ps_replace.txt
9be570559741d59f-ps_replace.txt
b58390dec2e5d993-ps_replace.txt
bf534f49771de07e-ps_replace.txt
c6680fbc4f27241f-ps_replace.txt
c98bd56e8669ca6e-ps_replace.txt
d7db024a726257e5-ps_replace.txt
d9a2383f4642090d-ps_replace.txt
e4c6a17fc1ab3859-ps_replace.txt
fcd22d2eb7c0b6d2-ps_replace.txt


This means that the file(s) .txt have been compiled by 3dmigoto (d3d11.dll)

- tested

Tested with file version 0.1.0.0.0570 (actually 1.0.0)
of project cars 3 on win 7 and windows 10(1903) / nvidia 1050gtx ti
See screenshot for settings game.

- performance

reshade / 3dmigoto gpu usage 1080p@ ~50fps
without - clock 1100mhz gpu usage ~95%
with    - clock 1300mhz gpu usage ~95%
approximately 3% increase (1050gtx ti on win 7)
max gpu: 1772Mhz gpu usage 100%
*) Game is capped to 50.1 fps through nvidia inspector

- further tweaking

If you like you can compare the modified shader, ShaderCache contains
the original shader, to alter values.

To disable specific tweaks open the shader from
the folder 'shaderfixes' with a text editor example:
061ef6dbd7c1dcab-ps_replace.txt

Has a remark on the top line:
// reduce intensity godrays

So if you do not want that to happen
remove the shader from the folder 'shaderfixes'

061ef6dbd7c1dcab-ps_replace.txt

and if compiled remove:

061ef6dbd7c1dcab-ps_replace.bin

then restart the game.

All shaders <shadernumber>ps_replace.txt have
a similar descriptive remark.

Removing curve can be done by editing upscale.hlsl
change line 120
from:
    //float2 tex = texcoord.xy;
    float2 tex = curve(texcoord.xy);
to:
    float2 tex = texcoord.xy;
    //float2 tex = curve(texcoord.xy);

- tips
https://www.pcgamingwiki.com/wiki/Project_CARS_3

- shader list


---------- 061EF6DBD7C1DCAB-PS_REPLACE.TXT
// reduce intensity godrays
// ---- Created with 3Dmigoto v1.3.16 on Mon Aug 31 13:25:29 2020

---------- 12CA729B5E6302E1-PS_REPLACE.TXT
// reduce rain mist and regular mistbanks
// ---- Created with 3Dmigoto v1.3.16 on Sat Sep 05 13:35:18 2020
  // reduce presence
  // reduce presence

---------- 1EE46904CFEE1626-PS_REPLACE.TXT
// reduce cubemap road reflections specificaly in rain
// ---- Created with 3Dmigoto v1.3.16 on Wed Mar 03 10:11:16 2021
  o0.xyz = o0.xyz * 0.7f; // road
  o1.xyz = v2.xyz * 0.7f; // puddles

---------- 310878496F8D3131-PS_REPLACE.TXT
// reduce overbright enviroment regular weather
// ---- Created with 3Dmigoto v1.3.16 on Fri Nov 25 10:39:09 2022
  // decrease overbright enviroment
  // set boundry r0.x keeps cockpitview lighter

---------- 3A80AFCCFE3779B9-PS_REPLACE.TXT
// global ilumination decrease darkness cockpit view lower hemisphere
// ---- Created with 3Dmigoto v1.3.16 on Sun Nov 20 11:00:34 2022

---------- 3F4543A24DE1F62F-PS_REPLACE.TXT
// reduce vignette higher speeds car also removes red collision vignette
// for version 1.0.0.0591
// ---- Created with 3Dmigoto v1.3.16 on Fri Sep 25 12:11:17 2020

---------- 6B8F3241D7D87E02-PS_REPLACE.TXT
// remove sticker B windscreen interior view not in exterior view
// ---- Created with 3Dmigoto v1.3.16 on Thu Dec 31 12:16:28 2020

---------- 7B951C36CE974B7D-PS_REPLACE.TXT
// reduce tint and strength headlights avatar
// ---- Created with 3Dmigoto v1.3.16 on Wed Dec 30 14:53:19 2020
        // narrow cone
        // decrease light strength
  // alter tint and strength

---------- 8AB943FB834EABFF-PS.TXT
// remove dof replay

---------- 8CE41A380BDD5CAD-PS_REPLACE.TXT
// disable dof forced even if disabled in settings
// ---- Created with 3Dmigoto v1.3.16 on Mon Aug 31 13:17:52 2020
// 3Dmigoto declarations

---------- 98280F08F31ABD9C-PS_REPLACE.TXT
// reduce darkness in tunnels cockpit view effects all camera viwes
// ---- Created with 3Dmigoto v1.3.16 on Mon Nov 09 11:48:20 2020
// 3Dmigoto declarations
  r0.xyz = r0.xyz * (v1.www * exp2(1.8f - v1.w) * 1.8f) + v1.xyz; // primary gamma

---------- 98FFE2925BC35222-PS_REPLACE.TXT
// global ilumination decrease darkness cockpit view lower hemisphere
// ---- Created with 3Dmigoto v1.3.16 on Thu Nov 24 10:54:32 2022

---------- 99C369D454B6E84C-PS_REPLACE.TXT
// temporal form of fxaa? not sure simplified it
// ---- Created with 3Dmigoto v1.3.16 on Sun Feb 28 11:32:08 2021

---------- 9BE570559741D59F-PS_REPLACE.TXT
// reduce tint and strength headlights oponnents
// ---- Created with 3Dmigoto v1.3.16 on Sat Nov 19 11:16:22 2022
        // narrow cone
        //r0.w = dot(-lightViewDirection.xyz, r4.xyz);
        // decrease light strength
        // odd prevents flating palette maybe a bug?
        //r0.x = exp2(r0.x);
  // alter tint and strength
  r8.x = r0.x * 0.2126f + r0.y * 0.7152f + r0.z * 0.0722f; // bt709

---------- B58390DEC2E5D993-PS_REPLACE.TXT
// disable blur or dof horizon
// ---- Created with 3Dmigoto v1.3.16 on Mon Aug 31 12:17:43 2020

---------- BF534F49771DE07E-PS_REPLACE.TXT
// reduce puddles side of track - visualy
// ---- Created with 3Dmigoto v1.3.16 on Fri Nov 25 11:27:31 2022
  // reduce puddles side of track - visualy

---------- C6680FBC4F27241F-PS_REPLACE.TXT
// remove hud blur
// ---- Created with 3Dmigoto v1.3.16 on Fri Feb 26 10:15:41 2021

---------- C98BD56E8669CA6E-PS_REPLACE.TXT
// remove sticker windscreen interior view not in exterior view
// ---- Created with 3Dmigoto v1.3.16 on Tue Sep 29 19:21:00 2020

---------- D7DB024A726257E5-PS_REPLACE.TXT
// reduce bloom
// ---- Created with 3Dmigoto v1.3.16 on Mon Aug 31 13:16:08 2020

---------- D9A2383F4642090D-PS_REPLACE.TXT
// reduce overbright enviroment rainy weather
// ---- Created with 3Dmigoto v1.3.16 on Fri Nov 25 10:22:53 2022
// 3Dmigoto declarations
  // decrease overbright enviroment
  // set boundry r0.x keeps cockpitview lighter

---------- E4C6A17FC1AB3859-PS_REPLACE.TXT
// remove lens dirt possibly effects strength godrays
// ---- Created with 3Dmigoto v1.3.16 on Sat Nov 19 19:33:34 2022

---------- FCD22D2EB7C0B6D2-PS_REPLACE.TXT
// global ilumination decrease darkness cockpit view both hemispheres
// ---- Created with 3Dmigoto v1.3.16 on Thu Nov 24 11:04:41 2022
  // decrease darkness cockpit
  //o0.xyz = max(v1.y * 10, min(1, r0.xyw));

---------- SHADERLIST.TXT