Professional Documents
Culture Documents
SweetFX Readme
SweetFX Readme
.-. . .---.. .
( ) _|_ | \ /
`-.. . ._.-. .-. | |--- /
( )\ \ / (.-' (.-' | | / \
`-' `' `' `--' `--'`-'' ' '
Shader Suite
by CeeJay.dk
'--------------------------------------------------'
- Version 1.4
Effects included:
* SMAA Anti-aliasing : Anti-aliases the image using the SMAA technique - see
http://www.iryoku.com/smaa/
* Cartoon : Creates an outline-effect that makes the image look more cartoonish.
* Advanced CRT : Mimics the look of an old arcade CRT display.
* LumaSharpen : Sharpens the image, making details easier to see
* Bloom : Makes strong lights bleed their light into their surroundings
* HDR : Mimics an HDR tonemapped look
* Technicolor : Makes the image look like it was processed using a three-strip
Technicolor process - see http://en.wikipedia.org/wiki/Technicolor
* Cineon DPX : Makes the image look like it was converted from film to Cineon DPX.
Can be used to create a "sunny" look.
* Monochrome : Removes colors from the image so it appears as if shot on black and
white film.
* Lift Gamma Gain : Adjust brightness and color of shadows, midtones and highlights
(avoids clipping)
* Tonemap : Adjust gamma, exposure, saturation, bleach and defog. (may cause
clipping)
* Vibrance : Intelligently saturates (or desaturates if you use negative values)
the pixels depending on their original saturation.
* Curves : Contrast adjustments using S-curves.
* Sepia : Sepia tones the image - see
http://en.wikipedia.org/wiki/Sepia_tone#Sepia_toning
* Vignette : Darkens the edges of the image to make it look more like it was shot
with a camera lens. - see http://en.wikipedia.org/wiki/Vignetting )
* Dither : Applies dithering to simulate more colors than your monitor can display.
This lessens banding artifacts - see
http://en.wikipedia.org/wiki/Dithering#Digital_photography_and_image_processing )
* Border : Makes the screenedge black as a workaround for the bright edge that
forcing some AA modes sometimes causes.
* Splitscreen : Enables the before-and-after splitscreen comparison mode.
You can find new releases of SweetFX in it's thread on the Guru3d forums :
http://forums.guru3d.com/showthread.php?t=376265
/*-----------------------------------------------------------.
/ Installation /
'-----------------------------------------------------------*/
1) Extract or copy all the files into the directory of a game exe (keeping the file
structure intact).
Some games require special attention - You can find a list of those and
instructions on how to get them working with SweetFX
in SweetFX/Game_Compability.txt
If you encounter a game not in the list that requires more effort to work with
SweetFX, post about it in the official thread
on Guru3d : http://forums.guru3d.com/showthread.php?t=376265
/*-----------------------------------------------------------.
/ Usage /
'-----------------------------------------------------------*/
It will automatically run when you start the DirectX 9, 10 or 11 game that you
added SweetFX to.
If you want to run different game with SweetFX then you need to install to that
games directory too.
If you can't figure out the right combination just from looking at your keyboard
and experimenting,
then read the documentation for your keyboard or just reconfigure the keys in
injector.ini
/*-----------------------------------------------------------.
/ Tweaking settings /
'-----------------------------------------------------------*/
You can choose which effects to enable, and set their parameters
in the SweetFX_settings.txt file - this can even be done while the game is running.
And naturally you don't have to start the game before you edit your settings.
It can be done before the game runs as well.
If you find editing a text file tedious and would rather want a GUI then I know of
two third-party GUIs for SweetFX:
SweetFX Configurator (by Terrasque) : http://sweetfx.thelazy.net/
and FlightFX ( by Laser ) : http://riseofflight.com/forum/viewtopic.php?t=34103
/*-----------------------------------------------------------.
/ Presets /
'-----------------------------------------------------------'/
SweetFX has a preset feature. Presets are just settings files made for a specific
game, series of games or a special purpose.
Many (most) of these are made by the users of SweetFX.
You can find a lot of them in the SweetFX Settings Database (made by Terrasque who
also made the SweetFX configurator GUI)
http://sfx.thelazy.net/games/
They are a good start if you need help finding the settings that are just right for
you.
Fx. to use the awesome Torchlight2_TFL.txt preset by TFL that is intended to make
Torchlight 2 look,
darker, dirtier, grittier and all-around more "evil" simply change the #include
line to :
#include "SweetFX/Presets/Torchlight2_TFL.txt"
Note that although presets are often intended for a single specific game, they can
be used in any game you wish.
To make your own preset simply copy the SweetFX_settings.txt file, rename it
whatever you'd like, and point the #include line to its location
For example :
1) Make a copy
2) Rename it mycustom_preset.txt
3) Move it to the Presets folder (you don't HAVE to do this - this is just to keep
the files organized)
4) Change the #include line to :
#include "SweetFX/Presets/mycustom_preset.txt"
If you make a really good preset please share it with other users in the SweetFX
release thread at :
http://forums.guru3d.com/showthread.php?t=376265
Similar to the other presets try also to include some details about your preset
/*-----------------------------------------------------------.
/ Making your own shaders /
'-----------------------------------------------------------'/
I've included a few notes on how you can create your own shaders for SweetFX.
You can find the in the SweetFX subfolder.
/*-----------------------------------------------------------.
/ Problems? /
'-----------------------------------------------------------*/
When the mod starts it creates a log.log file next to it's own location.
Open the log with a text editor and see what the problem is.
This issue is mostly seen on Windows Vista, 7 and 8 with games that install to
the program files folder, since Vista, 7 and 8 normally restricts write access to
that folder.
User accounts on Windows XP usually have administrator rights and don't see such
problems (however letting user accounts have administrator rights can be a security
risk
which is why Microsoft changed that beginning with Vista).
If not then you can always use the included SMAA anti-aliasing.
Q: How do I make MSI Afterburner / EVGA Precision / Rivatuner OSD work with this
mod?
A: To make MSI Afterburner work with this mod and others like it you need to :
1) Update to the latest version of MSI Afterburner.
2) Start MSI Afterburner.
3) Switch to the "MSI On-Screen Display Server" window.
4) Create a new profile for your game and change to it.
5) Click the big wrench icon to change advanced settings.
6) Go to General -> Compatibility properties and turn on "Enable compatibility with
modified Direct3D runtime libraries".
You can also change the setting for the Global profile,
but MSI does not recommend this because it might prevent some Direct3D applications
from starting.
The same (very similar) steps also work with EVGA Precision and Rivatuner OSD,
as all 3 tools are based on Rivatuner OSD.
[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=sweetfx_d3d9.dll
Q: How do I use SweetFX with games that use DirectX 7 or older or even Glide?
A: Again you need to find a wrapper that will translate the API that the game uses
to one that SweetFX supports.
/*-----------------------------------------------------------.
/ Uninstallation /
'-----------------------------------------------------------*/
1) Delete all the files you copied during the installation.
/*-----------------------------------------------------------.
/ Changelog /
'-----------------------------------------------------------*/
Version 1.4
Adds the Border shader as a workaround for the bright screenedge forcing
certain AA modes can cause
Adds the Cartoon shader that can make the image look more cartoonish
Adds the Advanced CRT shader that can mimic the look of an old arcade CRT
display
Adds the Monochrome shader that removes the colors
Adds the FXAA shader as an alternative to SMAA for the few people that still
prefer it. (only in DX9 for now though)
Improved the Curves shader so it can now apply contrast to Chroma as well as
Luma (as before) or both
Improved the performance of formula 5 in the Curves shader (the simplified
Catmull-rom spline)
Improved the Dither shader with the option to use Random Dithering.
Improved the Dither shader so now uses a subpixel dithering pattern. (Both when
using Random or Ordered Dithering)
Lowered the default SMAA threshold to 0.10 so fewer aliased lines escape
processing.
Fixed a bug where dark areas could on occasion appear when HDR and Lumasharpen
where both activated at the same time.
The alpha channel is now cleared before outputting the image to prevent it
messing with screenshots converted to png.
The SweetFX settings file now include a description field to help keep of which
version the settings are for.
Improved the Vignette shader to allow you to create oval shaped vignettes.
Curves_formula 2 is now the default Curves formula.
Includes some notes on how you can make custom shaders
Version 1.3
Adds the Lift Gamma Gain shader which lets users adjust brightness and color of
shadows, midtones and highlights.
Adds the Curves shader which uses S-curves to adjust the contrast of the image
Adds the Splitscreen shader which makes it easier to do comparison screenshots
and videos.
Reversed the DPX blend setting so smaller numbers now mean less effect and not
more (it's more logical this way)
Better default DPX settings
More conservative default Vibrance settings (down from 0.20 to 0.15)
All settings in the settings file now have ranges. (preparations for an
upcoming GUI)
Version 1.2
Fixes a rounding problem on AMD hardware with the dither shader.
Includes usermade presets - look in the SweetFX/Presets/ folder.
Updated and expanded documentation.
Minor speed improvements to most of the shaders. Hopefully it adds up.
Based on user feeedback default settings now use more conservative sharpening
Also default settings now enable conservative Vibrance settings
Slightly better default Sepia settings
Vignette now more uniformly darkens all the color channels of the screen edges
Adds the DPX shader - settings still need a lot of work though.
Version 1.1.1
Version 1.1
Version 1.0
/*-----------------------------------------------------------.
/ Credits /
'-----------------------------------------------------------*/
Uses shaders from FXAATool by Violator, [some dude], fpedace, BeetleatWar1977 and
[DKT70]
- https://www.assembla.com/wiki/show/fxaa-pp-inject/
Cartoon by CeeJay.dk, but based on the Auto Toon cg shader found in the Dolphin
emulator.
- http://dolphin-emu.org/
Or email your comments and thoughts (but please no support questions - keep those
to the Guru3D thread) to :
�CeeJay.dk� (at) �gmail.com�