kung foo man
8th December 2013, 04:50
Hey all, I found this nice tool and it's worth a deeper look. :D
http://www.youtube.com/watch?v=KoZFiMfGGDo
You just need to download: http://www.guru3d.com/files_details/sweetfx_shader_suite_download.html
And unpack the files in your CoD2-folder.
It lets you change new graphic-settings, which can be edited in SweetFX_preset.txt
Also you can make your own shaders at runtime, which makes it a great shaders learning tool.
This is an example CRT shader:
549
Source:
/*-----------------------------------------------------------.
/ SweetCRT /
'-----------------------------------------------------------*/
/*
SweetCRT - a Work in progress.
*/
#define scanline_strength 0.75
float4 SweetCRTPass( float4 colorInput, float2 tex )
{
//
float scanlines = frac(tex.y * (screen_size.y * 0.5)) - 0.49; //
scanlines = 1.0 + scanlines * scanline_strength;
colorInput.rgb = saturate(colorInput.rgb * scanlines);
//colorInput.rgb = saturate(scanlines).xxx;
return colorInput;
}
Anyone is able to write a CoD2 LSD Shader? :D
http://www.youtube.com/watch?v=KoZFiMfGGDo
You just need to download: http://www.guru3d.com/files_details/sweetfx_shader_suite_download.html
And unpack the files in your CoD2-folder.
It lets you change new graphic-settings, which can be edited in SweetFX_preset.txt
Also you can make your own shaders at runtime, which makes it a great shaders learning tool.
This is an example CRT shader:
549
Source:
/*-----------------------------------------------------------.
/ SweetCRT /
'-----------------------------------------------------------*/
/*
SweetCRT - a Work in progress.
*/
#define scanline_strength 0.75
float4 SweetCRTPass( float4 colorInput, float2 tex )
{
//
float scanlines = frac(tex.y * (screen_size.y * 0.5)) - 0.49; //
scanlines = 1.0 + scanlines * scanline_strength;
colorInput.rgb = saturate(colorInput.rgb * scanlines);
//colorInput.rgb = saturate(scanlines).xxx;
return colorInput;
}
Anyone is able to write a CoD2 LSD Shader? :D