Hey all, I found this nice tool and it's worth a deeper look.
You just need to download: http://www.guru3d.com/files_details/..._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:
Source:
PHP Code:
/*-----------------------------------------------------------.
/ 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?