skwasjer
04-01-08, 11:05 PM
Grayscale PP-filter for SH4 1.4/1.5 (version 1.1)
DESCRIPTION
This mod includes a stock filter, that I modified to enable grayscale filtering during post-processing stage. The grayscale filter only affects the 3D world. This entire filter is not active when post-processing is disabled.
INSTALLATION INSTRUCTIONS
Extract to MODS folder.
Install with JSGME.
Run game.
Ensure post-processing filter is enabled in-game.CREDITS
WernerSobe, for requesting it ;)
Dowly, for asking for different levels of grayscale/desaturation.
More thanks to everyone at SUBSIM.
PERMISSIONS
Apart from the disclaimer in my readme.txt header (which is directed at commercial use), anyone can use, modify and redistribute this mod, as long as it's free and non-commercial. Credits is all I ask. Have fun!
CUSTOMIZE GRAYSCALE LEVEL/SATURATION
Deactivate the mod.
Open the Data\Shaders\Filters\CompoundFilterPS.fx file in this mod.
Scroll down all the way to the end, and find the line that contains:
float grayscaleFactor = 1.0f;
Change this value to suit your needs/preference.
The range of this value is 0.0f to 1.0f. Full grayscale = 1.0f, no grayscale = 0.0f. Anything in between will blend rgb with the grayscale component giving a washed out (desaturated) look.
Save and reactivate the mod.FINAL NOTES
For grayscale, 24-bit colors are converted back to a 8-bit grayscale range
(using it's luminance). The result - what you see - may look washed out at
times (this is very apparent when looking at the sun), and the overall picture
may be darker. This can only really be improved, by tweaking the entire game,
it's textures etc. There are some improvements in the shader possible but
it will never be perfect that way.
There you have it. My first mod... ( S3D is not a mod :p )
DOWNLOAD (http://sh4.skwas.net/download.aspx?id={8294BD28-6623-4FB4-B71E-DA0444FA0CAC})
Example screenshot:
http://sh4.skwas.net/media/grayscale/grayscale.jpg
Grayscale factor 0.75:
http://sh4.skwas.net/media/grayscale/washedout.jpg
DESCRIPTION
This mod includes a stock filter, that I modified to enable grayscale filtering during post-processing stage. The grayscale filter only affects the 3D world. This entire filter is not active when post-processing is disabled.
INSTALLATION INSTRUCTIONS
Extract to MODS folder.
Install with JSGME.
Run game.
Ensure post-processing filter is enabled in-game.CREDITS
WernerSobe, for requesting it ;)
Dowly, for asking for different levels of grayscale/desaturation.
More thanks to everyone at SUBSIM.
PERMISSIONS
Apart from the disclaimer in my readme.txt header (which is directed at commercial use), anyone can use, modify and redistribute this mod, as long as it's free and non-commercial. Credits is all I ask. Have fun!
CUSTOMIZE GRAYSCALE LEVEL/SATURATION
Deactivate the mod.
Open the Data\Shaders\Filters\CompoundFilterPS.fx file in this mod.
Scroll down all the way to the end, and find the line that contains:
float grayscaleFactor = 1.0f;
Change this value to suit your needs/preference.
The range of this value is 0.0f to 1.0f. Full grayscale = 1.0f, no grayscale = 0.0f. Anything in between will blend rgb with the grayscale component giving a washed out (desaturated) look.
Save and reactivate the mod.FINAL NOTES
For grayscale, 24-bit colors are converted back to a 8-bit grayscale range
(using it's luminance). The result - what you see - may look washed out at
times (this is very apparent when looking at the sun), and the overall picture
may be darker. This can only really be improved, by tweaking the entire game,
it's textures etc. There are some improvements in the shader possible but
it will never be perfect that way.
There you have it. My first mod... ( S3D is not a mod :p )
DOWNLOAD (http://sh4.skwas.net/download.aspx?id={8294BD28-6623-4FB4-B71E-DA0444FA0CAC})
Example screenshot:
http://sh4.skwas.net/media/grayscale/grayscale.jpg
Grayscale factor 0.75:
http://sh4.skwas.net/media/grayscale/washedout.jpg