File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

many shadertweaks with 3dmigoto
plus tone mapping, sharpening and some bump mapping

Permissions and credits
Changelogs
- description

Dirt 3 just one word - gymkhana - love it or hate it this is pretty
much dirt 3's defining aspect. Nice idea but really challenges your
skills once you switch to cockpit view, no joke.

update 14/10/2024 v2.3
- tweaked tonemap a bit more contrast
  and saturation
- fixed 'remove artificial sun globe on tracks'
  caused greyed out mountains with rainy and
  cloudy weather conditions
- tweaked 'reduce flare reflections chrome, etc'
  pretty much removes flare now
- added 'remove lensflare B' shader

update 08/03/2024 v2.2
- added remove filter tint to splitscreen mode
  kudos to 'Tronie' for pointing out the oversight.

update 26/12/2022 v2.1
- added slight curve and color tweak with 3dmigoto
- reduce flare reflections chrome, etc in cockpit view
- added very slight luma sharpening

See added screenshots for examples

For version 2 the mods has been streamlined for details of version 1
see article:
https://www.nexusmods.com/dirt3/articles/1

update 05/10/2021 v2.0

- removed sweetfx 32 bit causes CreateDXGIFactory errors on windows 10
- removed the postproces and effect xml files they are no longer needed
  tweaks are done with 3dmigoto
- tested with dirt 3 complete edition no longer has xlive.dll dependency
  aka Games for Windows - LIVE
- reworked black border tweak so that highlight selection is visible

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

3dmigoto shader tweaks:
- remove filter tints whole image
- adapt fog distance and close tom new ambient light
- reduce strength and whiteness headlights car avatar and npc
- reduce black borders horizontal replay screen but keep selection visible
- reduce artificial sun globe on tracks
- more presence clouds
- reduce brightness upper part cockpit
- reduce glass tint effect in cockpit view

- updating from the previous care package if installed

remove the following files found under game dir:
effects\config.xml
postprocess\effects.xml

and restore with:
dirt 3 original files\effects\config.xml
dirt 3 original files\postprocess\effects.xml
contained in package or if you have made a backup with
your backup copy of the files.

- install

Copy the contents of the zip file to the install folder of dirt 3,
the folder which contains dirt3_game.exe

- optional install

download 3dmigoto from:
https://github.com/bo3b/3Dmigoto/releases
download version 1.3.16 and place the following dlls in the install dir of
dirt 3:
d3d11.dll (32bits)
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

The 3dmigoto can be verified by:
After running the game the folder ShaderFixes should contain the .bin versions:

2c160d46d315d1cf-ps_replace.bin
04088550ed659b04-ps_replace.bin
1d7ffc0f950f9ede-ps_replace.bin
29c7978e4129fcd0-ps_replace.bin
44184375eec4f8af-ps_replace.bin
4977ae594eb27c06-ps_replace.bin
5fb1af8ebbb8b50a-ps_replace.bin
5fb7805badf885b7-ps_replace.bin
69ff199d114ede0c-ps_replace.bin
6cd8caedcd2fa043-ps_replace.bin
6fe65e2bd7d1b6a1-ps_replace.bin
856fbb27e4c6e2df-ps_replace.bin
87a1c7a31aaab7ac-ps_replace.bin
88f86da117d4f407-ps_replace.bin
90b98e6d5782a02b-ps_replace.bin
9c5f6336a0d8e4bf-ps_replace.bin
a4409be1eebe13c1-ps_replace.bin
a6c5edfa8f0f515e-ps_replace.bin
ae16d287f9a7d7dd-ps_replace.bin
c46f860c9c173ff5-ps_replace.bin
curve.hlsl
d508f7ebf251a984-ps_replace.bin
dfcdc4e8b0ac57d3-ps_replace.bin
f56210045203533c-ps_replace.bin
upscale.hlsl

of

2c160d46d315d1cf-ps_replace.txt
04088550ed659b04-ps_replace.txt
1d7ffc0f950f9ede-ps_replace.txt
29c7978e4129fcd0-ps_replace.txt
44184375eec4f8af-ps_replace.txt
4977ae594eb27c06-ps_replace.txt
5fb1af8ebbb8b50a-ps_replace.txt
5fb7805badf885b7-ps_replace.txt
69ff199d114ede0c-ps_replace.txt
6cd8caedcd2fa043-ps_replace.txt
6fe65e2bd7d1b6a1-ps_replace.txt
856fbb27e4c6e2df-ps_replace.txt
87a1c7a31aaab7ac-ps_replace.txt
88f86da117d4f407-ps_replace.txt
90b98e6d5782a02b-ps_replace.txt
9c5f6336a0d8e4bf-ps_replace.txt
a4409be1eebe13c1-ps_replace.txt
a6c5edfa8f0f515e-ps_replace.txt
ae16d287f9a7d7dd-ps_replace.txt
c46f860c9c173ff5-ps_replace.txt
curve.hlsl
curve.ini
d508f7ebf251a984-ps_replace.txt
dfcdc4e8b0ac57d3-ps_replace.txt
f56210045203533c-ps_replace.txt
upscale.hlsl
upscale.ini

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

- tested

Tested with the complete edition of dirt 3 on win 10 (1903) / nvidia 1050gtx ti

- performance

gpu usage (game capped at 60.7 frames) plus fast sync
with - clock 987Mhz gpu usage ~70%
without   - clock 987Mhz gpu usage ~70%
no measurable difference with 1050gtx ti on win 10 (1903)
max gpu: 1784Mhz gpu usage 100%

- further tweaking

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

The curve shader can be disabled by opening d3dx.ini
in a text editor and altering line 20 from:
include = ShaderFixes\curve.ini
to:
;include = ShaderFixes\curve.ini

To disable specific tweaks open the shader from
the folder 'shaderfixes' with a text editor example:
9C5F6336A0D8E4BF-PS_REPLACE.TXT

Has a remark on the top line:
// reduce brightness upper part cockpit

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

9C5F6336A0D8E4BF-PS_REPLACE.TXT

and if compiled remove:

9C5F6336A0D8E4BF-PS_REPLACE.BIN

then restart the game.

All shaders ps_replace.txt have a similar descriptive remark.

- tips

https://www.pcgamingwiki.com/wiki/DiRT_3

- shaderlist

---------- 2c160d46d315d1cf-ps_replace.TXT
// remove green haze splitscreen all camera views
// ---- Created with 3Dmigoto v1.3.16 on Fri Mar 08 10:37:16 2024

---------- 04088550ED659B04-PS_REPLACE.TXT
// reduce glass tint effect in cockpit view after splash
// ---- Created with 3Dmigoto v1.3.11 on Fri Nov 08 20:46:49 2019

---------- 1D7FFC0F950F9EDE-PS_REPLACE.TXT
// reduce flare reflections chrome, etc
// ---- Created with 3Dmigoto v1.3.16 on Thu Dec 22 11:05:54 2022
  // reeduce flickering reflections cockpit

---------- 29C7978E4129FCD0-PS_REPLACE.TXT
// fog layer E hills nearby tricky also does side of road
// ---- Created with 3Dmigoto v1.3.16 on Mon Oct 04 11:23:28 2021

---------- 44184375EEC4F8AF-PS_REPLACE.TXT
// fog layer E mountains nearby with fog
// ---- Created with 3Dmigoto v1.3.16 on Mon Oct 04 10:50:53 2021

---------- 4977AE594EB27C06-PS_REPLACE.TXT
// reduce strength and whiteness headlights car avatar
// ---- Created with 3Dmigoto v1.3.16 on Sat Oct 02 12:16:23 2021
  // reduce intensity headlight
  // decrease whiteness headlight
  // yellow tint

---------- 5FB1AF8EBBB8B50A-PS_REPLACE.TXT
// reduce black borders horizontal replay screen but keep selection visible
// ---- Created with 3Dmigoto v1.3.11 on Fri Nov 08 20:46:01 2019

---------- 5FB7805BADF885B7-PS_REPLACE.TXT
// reduce artificial sun globe on tracks
  // reduce sun globe
  //r1.xyz = skyParams.xxx * r1.xyz;
  //r1.xyz = log2(r1.xyz);
  //r1.xyz = skyParams.yyy * r1.xyz;
  //r1.xyz = exp2(r1.xyz);
  // more presence clouds

---------- 69FF199D114EDE0C-PS_REPLACE.TXT
// fog layer C
// ---- Created with 3Dmigoto v1.3.16 on Sun Oct 03 12:26:02 2021

---------- 6CD8CAEDCD2FA043-PS_REPLACE.TXT
// effective global fx main menus
// ---- Created with 3Dmigoto v1.3.16 on Fri Oct 01 11:52:34 2021
  r1.xyz = 1.1f * r0.xyz; //streak.Sample(streak_s, v1.xy).xyz;
  //r1.xyz = lerp(2.0f * r0.xyz ,streak.Sample(streak_s, v1.xy).xyz, 0.5f); // minimal flares for night tracks
  r2.xyz = (0.9f + (0.7f - r3.x)) * r0.xyz; //bloomHigh.Sample(bloomHigh_s, v1.xy).xyz;
  // restore contrast
  // reduce green and red

---------- 6FE65E2BD7D1B6A1-PS_REPLACE.TXT
// fog layer A
// ---- Created with 3Dmigoto v1.3.16 on Sat Oct 02 11:34:04 2021

---------- 856FBB27E4C6E2DF-PS_REPLACE.TXT
// interior car increase ambient light in cockpit
// ---- Created with 3Dmigoto v1.3.16 on Sun Oct 03 12:16:56 2021
  // increase ambient light in cockpit

---------- 87A1C7A31AAAB7AC-PS_REPLACE.TXT
// effective global fx chase cams no motion also used in menus
// ---- Created with 3Dmigoto v1.3.16 on Tue Sep 28 20:38:57 2021
  //r1.xyz = 1.1f * r0.xyz; //streak.Sample(streak_s, v1.xy).xyz;
  r1.xyz = lerp(1.25f * r0.xyz ,streak.Sample(streak_s, v1.xy).xyz, 0.25f); // minimal flares for night tracks
  r2.xyz = (0.9f + (0.7f - r3.x)) * r0.xyz; //bloomHigh.Sample(bloomHigh_s, v1.xy).xyz;
  // restore contrast
  //o0.xyz = o0.xyz * ((0.75f + (r2.y * 0.007f)) - (0.25f - r2.x) * 0.45f);
  // reduce green and red

---------- 88F86DA117D4F407-PS_REPLACE.TXT
// fog layer D mountains
// ---- Created with 3Dmigoto v1.3.16 on Sat Oct 02 11:30:48 2021

---------- 90B98E6D5782A02B-PS_REPLACE.TXT
// fog layer D distant mountains with fog
// ---- Created with 3Dmigoto v1.3.16 on Mon Oct 04 10:54:23 2021

---------- 9C5F6336A0D8E4BF-PS_REPLACE.TXT
// reduce brightness upper part cockpit
// ---- Created with 3Dmigoto v1.3.16 on Tue Sep 28 21:05:44 2021
  // reduce brightness a bit of dashboard

---------- A4409BE1EEBE13C1-PS_REPLACE.TXT
// fog layer B3
// ---- Created with 3Dmigoto v1.3.16 on Sat Oct 02 11:59:13 2021

---------- A6C5EDFA8F0F515E-PS_REPLACE.TXT
// fog layer B2
// ---- Created with 3Dmigoto v1.3.16 on Sat Oct 02 11:38:07 2021

---------- AE16D287F9A7D7DD-PS_REPLACE.TXT
// effective global fx intro cam
// ---- Created with 3Dmigoto v1.3.16 on Fri Oct 01 13:04:10 2021
  r1.xyz = 1.1f * r0.xyz; //streak.Sample(streak_s, v1.xy).xyz;
  //r1.xyz = lerp(2.0f * r0.xyz ,streak.Sample(streak_s, v1.xy).xyz, 0.5f); // minimal flares for night tracks
  r2.xyz = (0.9f + (0.7f - r3.x)) * r0.xyz; //bloomHigh.Sample(bloomHigh_s, v1.xy).xyz;
  // restore contrast
  // reduce green and red

---------- C46F860C9C173FF5-PS_REPLACE.TXT
// fog layer B
// ---- Created with 3Dmigoto v1.3.16 on Sat Oct 02 11:36:01 2021

---------- D508F7EBF251A984-PS_REPLACE.TXT
// remove artificial sun globe in menu

---------- DFCDC4E8B0AC57D3-PS_REPLACE.TXT
// effective global fx non chase cams and motion also used in menus and for replay
// ---- Created with 3Dmigoto v1.3.16 on Thu Sep 30 18:44:59 2021
  //r1.xyz = 1.1f * r0.xyz; //streak.Sample(streak_s, v1.xy).xyz;
  r1.xyz = lerp(1.25f * r0.xyz ,streak.Sample(streak_s, v1.xy).xyz, 0.25f); // minimal flares for night tracks
  r2.xyz = (0.9f + (0.7f - r3.x)) * r0.xyz; //bloomHigh.Sample(bloomHigh_s, v1.xy).xyz;
  // restore contrast
  //o0.xyz = o0.xyz * ((0.75f + (r2.y * 0.007f)) - (0.25f - r2.x) * 0.45f);
  // reduce green and red

---------- F56210045203533C-PS_REPLACE.TXT
// reduce glass tint effect in cockpit view