View Single Post
Old 10-27-11, 04:03 PM   #3
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 718
Downloads: 575
Uploads: 0
Default

Hello lefebvredl.

Welcome aboard.

The file data/Misc/impurity.dds contains the "plancton". Try open this with i.e. PaintNet, make it transparent and save.

The blurry underwater look could be changed by editing the data/shaders/HDR/DOF_PS.fx file.

Open in notepad and change to:


-------------------------

#include <data/shaders/hdr/common.inc>
float2 g_focalDistance : register(c0);

struct PS_IN
{
float2 Tex0 : TEXCOORD0;
};

float4 main( PS_IN In ) : COLOR
{
float depth = tex2D(tex1, In.Tex0).r;
float interp = saturate;

float3 color = tex2D(tex0, In.Tex0).rgb;
//return float4(depth, depth, depth, 1);
//return float4(interp, interp, interp, 1);
return float4(color, interp);
}




-----------------------------

This is from a mod by vickers03.


In the Dynamic Environment 2.1 the data/Misc/underwater_disp_map.dds deals with another underwater effect.


Try a combination of this three files should be clear underwater, maybe Dynamic Environment 2.1 light as a base, then the impurity, then the shader (fx) file.


Regards.

Echolt.
Echolot is offline   Reply With Quote