Stardew Valley

File information

Last updated

Original upload

Created by

misterwu

Uploaded by

misterwu

Virus scan

Safe to use

About this mod

A native Tilt-Shift effect shader for Stardew Valley. Does not touch the UI! Now with directional fading!

Requirements
Permissions and credits
Translations
  • Mandarin
Changelogs
Compatible with 1.6+
Native Shader - no ReShade needed
Requires SMAPI 4.0+

Looks best on low world zoom-levels (75% - 90%)

What does this mod do?
This mod adds a highly customizable effect shader. It mimics the tilt-shift effect to add some depth to the visuals of the game. All you need is SMAPI (and Generic Mod Config Menu for customization)! No ReShade needed! Unlike ReShade, it ignores the UI so you can enjoy enhanced visuals without sacrificing readability of the UI. Use Vortex or Stardrop for easy install and update notifications!

Compatibility
This mod should work with mods that do not mess with the drawing cycle of the game. As of now I know of no mod that does that, so it should be compatible with almost everything.


Confirmed compatibility with:
  • Stardew Valley Expanded, East Scarp and Ridgeside Village
  • Dynamic Reflections
  • Dynamic Night Time
  • Visible Fish
  • More Grass
  • Wind Effects
  • Content Patcher
  • ReShade Mods
  • (Almost) Everything!
Incompatible with:
  • No compatibility issues known!

Customization
You can change the settings with Generic Mod Config Menu (optional dependency) or by manually changing the values in the config.json file.

  • Enable / Disable the effect globally or in specific locations / conditions
  • Customize the shader effect to your liking with different parameters
  • Customize the dynamic fading effect
  • And more!

Every option has an explanation tooltip to help you understand the effect the change has!
I use the following configuration: Gaussian / Automatic, 0.2 effect offset, 1.0 strength, 2 passes

Translations
Included
  • English
  • German
Standalone

Performance
The performance while using this mod depends on your computer's specs and the setting you use. Modern systems should be able to run the shader with no performance loss even with high shader settings.

You can use the following guide to optimize your settings if you experience a performance drop.

Sample Points used (lower is faster):
at a 4x radius

- 2D Gaussian & Box:    81
- 2D Chex:              25
- 1D Gaussian & Box:    18

at a 10x radius
- 2D Gaussian & Box:    441
- 2D Chex:              103
- 1D Gaussian & Box:    42


How are sample points calculated:
- 2D Gaussian & Box:    (radius * 2 + 1) * (radius * 2 + 1)
- 1D Gaussian & Box:    (radius * 2 + 1) + (radius * 2 + 1)
- Chex has fixed values:
  x2: 9; x3: 17; x4: 25; x5: 35; x6: 47; x7: 59; x8: 67; x9: 83; x10: 103


Performance value (lower is faster):
- Gaussian:             1.10
- Chex:                 1.02
- Box:                  1.00


2D Sample area visualization
Spoiler:  
Show


You can calculate the performance of your setting like this (The lower the result, the faster your setting):
(sample points * perfomance value) * shader passes

Maintnance
This mod is pretty easy to maintain. It uses as few dependencies as possible and own methods where it can.
There are two cases in wich the mod becomes broken, in wich i will try to update the mod as soon as possible.
  • SMAPI Display EventHooks get changed
  • Stardew Valley gets updated to a new version of MonoGame (Shader files become incompatible)
I will make the code public so it can be maintained by the community, should i ever decide not to maintain this mod anymore,
 
F.A.Q.
Why not release it as a ReShade mod / preset?
You can achieve this effect with ReShade (wich is version independent) too, but it would apply the effect to the whole screen, even the UI. And
because its blurring the top / bottom portion of the screen, it would make the UI hard to read.

Why do you recommend using Vortex? Other mod authors say it will break my game!?
I recommend it because you can remove or update any mod very easily. Mod authors saying that Vortex "loses" files have no idea what they are talking about. Vortex has a very safe and reliable method of deploying (linking) files and missing files and faulty installations come from user error or wrong mod packaging. Manual installation is always more prone to errors. I'm using Vortex since it came out for every game i mod. I never had any problems or game breaking issues!

Known Issues
See sticky @ posts tab.

Check out my ReShade Mod that was used in the screenshots: Back To Nature ReShade