Euro Truck Simulator 2

File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

Numerous shadertweaks see description
for euro truck simulator 2 v 1.41.1 see:
https://www.nexusmods.com/eurotrucksimulator2/articles/6
for euro truck simulator 2 v 1.37.0 use v1.0 adds ambient occlusion

Permissions and credits
Changelogs
- description

For euro truck simulator 2 v1.48.1 and up

The saying goes there are many ways to Rome in this
game quite literally and figuratively when it comes
to modding this game.

Basically this mod shifts the color palette, reduces
the quite pronounced darkness gamma wise and adds a
little sharpening in the mix this is based on an unmodded
game so if you are using other mods that alter the light
or weather you might not get quite the same effect as shown
in the screenshots.

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

3dmigoto shader tweaks:
- reduce intensity sun shafts
- reduce light lower hemisphere time day and night
- reduce distance fog
- darken mie or raleigh effect horizon
- slightly decrease lights buildings night also effects
  dashboard cabine lights and light in rear view mirror
- reduce secondary glow light sources is frame based

update 18/08/2023 v1.481
- added a slight curve with custom shader curve.hlsl
- some slight tweaks to the tonemap shader (upscale.hlsl)

*see 'further tweaking' to disable curve

update 15/02/2022 v1.2
- a custom shader upscale.hlsl (3dmigoto) replaces reshade
- no longer use smaa by reshade switched to smaa internal of game
- tested on windows 10 (v1903)
- reworked distance fog, mie / raleigh effect horizon is preserved more accurately
- reworked global illumination day and night environment added fake light

Note(s):
The  package has a customized shader 'upscale.hlsl' which
does some fullscreen tweaks as sharpening and color modification.

- updating

if a older package (1.1 or older) was installed remove the following
folder(s) and file(s) in the folder which contains eurotrucks2.exe

reshade
shadercache
shaderfixes

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

Then copy the contents of the zip file to the install folder of
euro truck simulator 2, the folder which contains eurotrucks2.exe.

- install

Copy the contents of the zip file to the install folder of
euro truck simulator 2, the folder which contains eurotrucks2.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
euro truck simulator 2:
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.

Also add at line 19:
include = ShaderFixes\upscale.ini
include = ShaderFixes\curve.ini

- verify

After running the game the folder ShaderFixes should
gradually (scene and level dependent) contain the .bin versions:

024c100f26cb5995-ps_replace.bin
253c19c80724faa9-ps_replace.bin
c13a1011424bea38-ps_replace.bin
ec2dbe1651eb5218-ps_replace.bin
f9c3201cb125959a-ps_replace.bin
upscale.hlsl
upscale.ini

of

024c100f26cb5995-ps_replace.txt
253c19c80724faa9-ps_replace.txt
c13a1011424bea38-ps_replace.txt
ec2dbe1651eb5218-ps_replace.txt
f9c3201cb125959a-ps_replace.txt
upscale.hlsl
upscale.ini

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

- tested

Tested with file version 1.48.1 of euro truck simulator 2
on win 10 / nvidia 1050gtx ti
See screenshot for settings game.

- performance

3dmigoto gpu usage 1080p@ ~60fps
without - clock 1080hz gpu usage ~70%
with       - clock 1120hz gpu usage ~72%
approximately 4% increase (1050gtx ti on win 7 / win 10)
max gpu: 1772Mhz 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:
8d01e16dc982b984-ps_replace.txt

Has a remark on the top line:
// reduce distance fog v2 better for mountains

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

253C19C80724FAA9-PS_REPLACE.TXT

and if compiled remove:

253C19C80724FAA9-PS_REPLACE.BIN

then restart the game.

All shaders <shadernumber>ps_replace.txt have
a similar descriptive remark. (see shader list)

- tips

Start the game with an other homedir location.
Create a shortcut (.lnk) with your file explorer and modify
the properties to:
"<instal dir game>\bin\win_x64\eurotrucks2.exe" -homedir "<instaldir game>"
example:
"G:\games\euro truck simulator 2\bin\win_x64\eurotrucks2.exe" -homedir "G:\games\euro truck simulator 2"
After starting the game a new folder will be created called
'Euro Truck Simulator 2'
or you can copy the old 'Euro Truck Simulator 2' to the new location.
More info:
https://forum.scssoft.com/viewtopic.php?t=189824

- shader list


---------- 024C100F26CB5995-PS_REPLACE.TXT
// reduce intensity sun shafts
// ---- Created with 3Dmigoto v1.3.16 on Thu Aug 05 12:04:36 2021

---------- 253C19C80724FAA9-PS_REPLACE.TXT
// reduce distance fog v2 better for mountains
// ---- Created with 3Dmigoto v1.3.16 on Thu Aug 05 11:42:27 2021

---------- C13A1011424BEA38-PS_REPLACE.TXT
// lights buildings night also effects dashboard cabine lights
// and light in rear view mirror
// ---- Created with 3Dmigoto v1.3.16 on Sat Aug 07 19:00:36 2021

---------- EC2DBE1651EB5218-PS_REPLACE.TXT
// global illumination day and night enviroment not cabin
// note during storm needs to be increased more
// ---- Created with 3Dmigoto v1.3.16 on Thu Dec 23 11:52:58 2021
  o0.xyz = o0.xyz * (1.0f + (1.0f - r2.x) * 0.75f); // increase illumination
  // add fake light

---------- F9C3201CB125959A-PS_REPLACE.TXT
// reduce secondary glow light sources is frame based
// ---- Created with 3Dmigoto v1.3.16 on Thu Aug 05 11:35:58 2021

---------- SHADERS.TXT