Rise Of The Tomb Raider

File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

Numerous shadertweaks see description
3dmigoto: slight bumpmap textures and tonemap

Permissions and credits
- description

Rise of the tomb raider the follow up to crystal dynamics
tomb raider 2013 takes it's predecessor high standards
in terms of game play, level design and production values
and elevates it to dizzying heights as with 2013 modding wise
this is hallowed ground, never the less...
This package contains some tweaks realized with 3dmigoto
and can only be used in dx11 (dx12 is not supported).

3dmigto tweaks contain:
- reduce fog density
- increase lut contrast and desaturate
- reduce vignette
- remove lensdirt snow fx only
- remove fx rain drops only

Further a 3dmigoto tone map re-balances brightness plus removes a slight
yellow tint and a 'poor mans form of tessellation' gives the assets
(characters, environment, etc) a bit of relief plus more definition.
Note: upscale.hlsl contains the tonemap and sharpnening / relief

- install

Copy the contents of the zip file to the install folder of
rise of the tomb raider, the folder which contains rottr.exe.

- optional install

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 (64bit) and place the following dlls
in the install dir of rise of the tomb raider:
d3d11.dll
d3dcompiler_46.dll
d3dx.ini
then copy 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
gradually (scene and level dependent) contain the .bin versions:

2583b1d89847d736-ps_replace.bin
453895e161737840-ps_replace.bin
82fc1cbcb7c43a39-ps_replace.bin
9d7fe0331f6440be-ps_replace.bin
a1a8ad9f83c8401d-ps_replace.bin
ec8068715fb3acb9-ps_replace.bin
upscale.hlsl

of

2583b1d89847d736-ps_replace.txt
453895e161737840-ps_replace.txt
82fc1cbcb7c43a39-ps_replace.txt
9d7fe0331f6440be-ps_replace.txt
a1a8ad9f83c8401d-ps_replace.txt
ec8068715fb3acb9-ps_replace.txt
upscale.hlsl

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

- tested

Tested with version 1.0.767.2 (dx11) of rise of the tomb raider
on win 7 / win 10(1903) / nvidia 1050gtx ti with 3dmigoto (64bits) 1.3.16

- performance

3dmigoto gpu usage [email protected]*
without - clock 1772Mhz gpu usage ~94%
with    - clock 1772Mhz gpu usage ~96%
approximately 2% increase (1050gtx ti on win 10)
max gpu: 1772Mhz gpu usage 100%
*) Game is capped to 51.2 sync forced off through nvidia inpsector

- 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:
A1A8AD9F83C8401D-ps_replace.txt

Has a remark on the top line:
// remove lensdirt snow fx only

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

A1A8AD9F83C8401D-ps_replace.txt

and if compiled remove:

A1A8AD9F83C8401D-ps_replace.bin

then restart the game.

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

- tips

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

- shader list

---------- 2583B1D89847D736-PS_REPLACE.TXT
// reduce fog density geothermal valley
// soviet installation evening
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 11 11:25:42 2023
  // decrease fog density
  o0.xyz = max(0.0001f, r1.yyy * r0.xyz + r1.xzw * 0.422f);//(0.55f * (1.1f - v1.y));

---------- 453895E161737840-PS_REPLACE.TXT
// increase lut contrast, desaturate, reduce red geothermal valley
// also reduce vignette
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 11 12:02:41 2023
  // increase contrast
  //r2.xy = -g_VigParams.zw + r2.xy;
  //r1.w = -g_VigParams.x + r1.w;
  //r1.w = saturate(g_VigParams.y * r1.w);
  // desaturate
  //r3.yw = float2(0.25,0.75);
  // remove vignette
  //r2.xyzw = g_VigColOut.xyzw + -g_VigColIn.xyzw;
  //r1.xyzw = r1.wwww * r2.xyzw + g_VigColIn.xyzw;
  //r1.xyz = r1.xyz + -r0.xyz;
  // increase lut contrast reduce red
  //o0.xy = o0.xy * 0.9f;

---------- 82FC1CBCB7C43A39-PS_REPLACE.TXT
// increase lut contrast, desaturate, reduce red soviet installation
// siberian wilderness, wicked vale
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 11 20:04:04 2023
  // increase contrast
  // desaturate
  //r3.yw = float2(0.25,0.75);
  //r3.w = r3.w - (r4.x * 0.255f);
  // increase lut contrast reduce red
  //o0.xy = o0.xy * 0.9f;

---------- 9D7FE0331F6440BE-PS_REPLACE.TXT
// reduce fog density soviet installation
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 11 20:06:55 2023

---------- A1A8AD9F83C8401D-PS_REPLACE.TXT
// remove lensdirt snow fx only
// ---- Created with 3Dmigoto v1.3.16 on Thu Jan 12 09:47:55 2023

---------- DIR.TXT

---------- EC8068715FB3ACB9-PS_REPLACE.TXT
// remove fx rain drops only
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 11 12:17:02 2023

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