Eastshade

File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

Many shadertweaks see description

Permissions and credits
Changelogs
- description

Eastshade a charming open world adventure game in the
spirit of return to mysterious island and other Kheops
games.

Worthwhile but there are many issues, the performance
of the unity engine being one of them, but nevertheless
here are some tweaks with 3dmigoto to try
to alleviate the excessive darkness in the game and
some other visual issues.

shader tweaks with 3dmigoto:
- reduce hard colors vegetation trees, etc
- reduce bloom light effect windows etc
- reduce fog density
- decrease vignette effect
- curve shader (see further tweaking to disable if needed)

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

update 18/08/2023 v1.2
- a custom shader upscale.hlsl (3dmigoto) replaces reshade
- added a slight curve with custom shader curve.hlsl
- switched to internal AA set via GraphicsSettings.txt
  AA = 2 // 0 is off, 1 is SSAA, 2 is TAA
  see: tips for more info
- tweaked fog reduction
- tweaked vignette shaders less darkness
- added a dof removal shadertweak occurs with
  zoomed in dialog with npc's

update 31/07/2021 v1.1
- removed bump / relief shader
- no longer needed, remove flashing windows at night
  also removes candle flame alas
- reworked self shadowing of characters and environments
  results in a less dark image (see screen shots)
- added smaa via reshade
- removed tonemap now use desaturation with a little gamma bump
- tested with version 1.25 (coming from v1.13) of eastshade
- also tested on windows 10 (1903)

An option B of this package contains *only* shaderfixes
please use this version if you do not like the reshade tweaks.

- updating

if the old package (1.1 or older) was installed remove the following
folder(s) and file(s) in the folder which contains eastshade.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
eastshade, the folder which contains eastshade.exe.

- install

Copy the contents of the zip file to the install folder of eastshade,
the folder which contains eastshade.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.0 (64bit) and place
the following dlls in the install dir of eastshade
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.

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:

0798a8d02be58346-ps_replace.bin
1a56d6e639cb6542-ps_replace.bin
1cc2de3756ad3e81-ps_replace.bin
2046e165fcd9b6bf-ps_replace.bin
2d5c87af97fcf374-ps.bin
381a0c9df6025bea-ps_replace.bin
4628e1a3a9df9736-ps_replace.bin
73f0a7162ae81255-ps_replace.bin
91b6f634adb591d6-ps.bin
a659d092028f9bc0-ps_replace.bin
aae9b3cdc2fa820a-ps_replace.bin
ad2ca90bb83906a6-ps_replace.bin
aea93bbcdcedfeda-ps_replace.bin
b898ff04b0280cf2-ps.bin
curve.hlsl
d1c6ecbdf819bcc4-ps_replace.bin
eb0bcd2993b294ca-ps_replace.bin
upscale.hlsl

of

0798a8d02be58346-ps_replace.txt
1a56d6e639cb6542-ps_replace.txt
1cc2de3756ad3e81-ps_replace.txt
2046e165fcd9b6bf-ps_replace.txt
2d5c87af97fcf374-ps.txt
381a0c9df6025bea-ps_replace.txt
4628e1a3a9df9736-ps_replace.txt
73f0a7162ae81255-ps_replace.txt
91b6f634adb591d6-ps.txt
a659d092028f9bc0-ps_replace.txt
aae9b3cdc2fa820a-ps_replace.txt
ad2ca90bb83906a6-ps_replace.txt
aea93bbcdcedfeda-ps_replace.txt
b898ff04b0280cf2-ps.txt
curve.hlsl
d1c6ecbdf819bcc4-ps_replace.txt
eb0bcd2993b294ca-ps_replace.txt
upscale.hlsl

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

- tested

Tested with version 1.13 of eastshade on win 7 / nvidia 1050gtx ti
See screenshot for settings game.

update 31/07/2021
Tested with version 1.25 on windows 10 (1903)
framerate still around 35fps capped

- performance

3dmigoto gpu usage 1080p@~35fps
without - clock 1746Mhz gpu usage ~90%
with    - clock 1746Mhz gpu usage ~95%
approximately 2% increase (1050gtx ti on win 7)
max gpu: 1750Mhz gpu usage 100%
**clamped framerate to 35.7 plus fastsync

- further tweaking

To disable specific tweaks open the shader from
the folder 'shaderfixes' with a text editor example:
91B6F634ADB591D6-PS.TXT

Has a remark on the top line:
// reduce vignette zoomed in dialog

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

91B6F634ADB591D6-PS.TXT

and if compiled remove:

91B6F634ADB591D6-PS.BIN

then restart the game.

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

- tips

graphicssettings.txt
AA = 2 // 0 is off, 1 is SSAA, 2 is TAA
Vertical Sync = 0
SceneLoadingDistance = 2 // 0 is default behaviour, 1 loads scenes a bit further out, 2 loads the entire game into memory
SSAO = 1
lodBias = 1.5
shadowDistance = 250 // high is 250
shadowResolution = 2 // 0 is lowest 3 is highest
RenderResolutionScaler = 1 // undersample render resolution.

location:
<drive:>\Users\<username>\AppData\LocalLow\Eastshade Studios\Eastshade\graphicssettings.txt

- shader list

---------- 0798A8D02BE58346-PS_REPLACE.TXT
// decrease self shadowing npcs and certain objects
// tricky uses a raster for shadows which can become visisble
// not used for dialog interaction
// ---- Created with 3Dmigoto v1.3.16 on Sat Jul 24 20:23:23 2021

---------- 1A56D6E639CB6542-PS_REPLACE.TXT
// reduce darkness torso npc C
// ---- Created with 3Dmigoto v1.3.16 on Sun Jul 25 12:35:39 2021

---------- 1CC2DE3756AD3E81-PS_REPLACE.TXT
// increase shadows grass and desaturate
// detrimentaly effects bloom color
// ---- Created with 3Dmigoto v1.3.16 on Sat Jul 24 13:45:01 2021
  r0.y = 0.5f + r0.y; // increase shadows

---------- 2046E165FCD9B6BF-PS_REPLACE.TXT
// reduce white line water edge
// ---- Created with 3Dmigoto v1.3.16 on Sat Jul 31 12:44:01 2021
  r3.xyz = float3(0.2,0.2,0.2) + -r2.xyw; // reduce white line water edge

---------- 2D5C87AF97FCF374-PS.TXT
// reduce vignette only vignette also used to simulate night and evening
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.3.16 on Sun Oct 27 13:45:43 2019
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float
// TEXCOORD                 0   xy          1     NONE   float   xy
// TEXCOORD                 1     zw        1     NONE   float     zw
// TEXCOORD                 2   xy          2     NONE   float
// TEXCOORD                 3     zw        2     NONE   float     zw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
// decrease darkness and vignette
//add r0.w, -r0.w, l(1.030000)
//log r0.w, r0.w
//mul r0.w, r0.w, cb0[16].y
//exp r0.w, r0.w
// restore contrast add some red a bit more blue
//add r1.xyz, -cb0[14].zxyz, l(1.000000, 1.000000, 1.000000, 0.000000)
//mad r1.xyz, r0.wwww, r1.xyzx, cb0[14].zxyz
// restore contrast
//mad r0.xyz, r0.xyzx, l(4.855556, 4.855556, 4.855556, 0.000000), l(0.032996, 0.032996, 0.032996, 0.000000)
//mad r0.xyz, r0.xyzx, l(5.555556, 5.555556, 5.555556, 0.000000), l(0.047996, 0.047996, 0.047996, 0.000000)
// decrease darkness add a bit of blue
//mad_sat r0.xyz, r0.xyzx, l(0.0734997839, 0.0734997839, 0.0734997839, 0.000000), l(0.386036, 0.386036, 0.386036, 0.000000)
// Approximately 0 instruction slots used

---------- 381A0C9DF6025BEA-PS_REPLACE.TXT
// reduce hard colors vegitation trees, etc
// ---- Created with 3Dmigoto v1.3.16 on Wed Oct 16 17:14:05 2019

---------- 4628E1A3A9DF9736-PS_REPLACE.TXT
// increase light lower hemisphere reduce red and green
// has side effect of making bloom blocky
// ---- Created with 3Dmigoto v1.3.16 on Sat Jul 24 13:26:50 2021
  //r1.x = max(o0.x, max(o0.y, o0.z));
  //o0.xyz = o0.xyz * (1.0f + (0.70f - r1.x) * (0.70f - r1.x));
  //o0.xy = o0.xy * 0.95f; // reduce red and green

---------- 73F0A7162AE81255-PS_REPLACE.TXT
// remove dof A zoomed in dialog npc
// ---- Created with 3Dmigoto v1.3.16 on Thu Aug 17 20:37:09 2023

---------- 91B6F634ADB591D6-PS.TXT
// reduce vignette zoomed in dialog
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.3.16 on Sun Jul 25 12:38:18 2021
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float
// TEXCOORD                 0   xy          1     NONE   float   xy
// TEXCOORD                 1     zw        1     NONE   float     zw
// TEXCOORD                 2   xy          2     NONE   float
// TEXCOORD                 3     zw        2     NONE   float     zw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
// decrease darkness and vignette
//log r0.w, r0.w
//mul r0.w, r0.w, cb0[16].y
//exp r0.w, r0.w
// restore contrast add some red a bit more blue
//add r1.xyz, -cb0[14].zxyz, l(1.000000, 1.000000, 1.000000, 0.000000)
// restore contrast
//mad r0.xyz, r0.xyzx, l(4.855556, 4.855556, 4.855556, 0.000000), l(0.032996, 0.032996, 0.032996, 0.000000)
//mad r0.xyz, r0.xyzx, l(5.555556, 5.555556, 5.555556, 0.000000), l(0.047996, 0.047996, 0.047996, 0.000000)
// decrease darkness add a bit of blue
//mad_sat r0.xyz, r0.xyzx, l(0.0734997839, 0.0734997839, 0.0734997839, 0.000000), l(0.386036, 0.386036, 0.386036, 0.000000)

---------- A659D092028F9BC0-PS_REPLACE.TXT
// reduce fog density new export
// ---- Created with 3Dmigoto v1.3.16 on Sun Jul 25 12:21:28 2021
  r0.xyz = float3(0.325,0.325,0.325) / r0.xyz; // preserve sky detail
  r1.xyzw = t0.Sample(s0_s, r0.zw).xyzw * 4.0f; // reduce fog
  //r1.xyzw = t0.Sample(s0_s, r0.zw).xyzw * 2.0f; // reduce fog
  r1.xyz = (1.1f + (1.0f - cb0[29].y) * 1.35f) * cb0[29].yyy * cb0[8].xyz; // push ambient fog
  //r1.xyz = 1.4f * cb0[29].yyy * cb0[8].xyz; // push ambient fog

---------- AAE9B3CDC2FA820A-PS_REPLACE.TXT
// reduce hard colors vegitation pre domintly shrubs etc
// ---- Created with 3Dmigoto v1.3.16 on Wed Oct 16 17:17:36 2019

---------- AD2CA90BB83906A6-PS_REPLACE.TXT
// decrease darkness a little global illumination
// contains some form of lensdirt try 1.0 - r0.z to show
// overbrights alot difficult to apply
// applied in both exteriors and interiors global illumination
// ---- Created with 3Dmigoto v1.3.16 on Tue Jul 27 19:25:49 2021

---------- AEA93BBCDCEDFEDA-PS_REPLACE.TXT
// reduce darkness combined head, feet and torso npc
// ---- Created with 3Dmigoto v1.3.16 on Sun Jul 25 12:41:20 2021
// 3Dmigoto declarations

---------- B898FF04B0280CF2-PS.TXT
// determines intensity and color bloom reduce a bit
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.3.16 on Sat Jul 24 20:14:58 2021
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float
// TEXCOORD                 0   xy          1     NONE   float
// TEXCOORD                 1     zw        1     NONE   float     zw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//

---------- D1C6ECBDF819BCC4-PS_REPLACE.TXT
// reduce darkness head npc B
// ---- Created with 3Dmigoto v1.3.16 on Sun Jul 25 12:42:22 2021

---------- EB0BCD2993B294CA-PS_REPLACE.TXT
// reduce darkness head and feet npc
// ---- Created with 3Dmigoto v1.3.16 on Sun Jul 25 12:33:11 2021

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