View Single Post
Old 01-06-09, 11:55 AM   #13
Torpedo
Torpedoman
 
Torpedo's Avatar
 
Join Date: Jul 2006
Location: Treviso, Italy
Posts: 249
Downloads: 1074
Uploads: 0


Maybe the moon is here...

Hi All and sorry for my bad english,

I have no moon so i've changed in E5.0 the values
in MoonPS.fx :

//return float4(tex2D(MoonTexture, In.Tex0).w, 0, 0, 0.1);

//return tex2D(MoonTexture, In.Tex0);
//return float4(tex2D(MoonTexture, In.Tex0+0.0).xyz, 0.1);

in

//return float4(tex2D(MoonTexture, In.Tex0).w, 0, 0, 1);

//return tex2D(MoonTexture, In.Tex0);
//return float4(tex2D(MoonTexture, In.Tex0+0.0).xyz, 1);

and in MoonVS.fx :

Out.ProjPos = mul( In.Pos, matWVP);
Out.Tex0 = In.Tex0.1;

in

Out.ProjPos = mul( In.Pos, matWVP);
Out.Tex0 = In.Tex0;

and now I have my lovely moon!!!!

MoonPS.fx and MoonVS.fx are in Data\Shaders\Sky\ and I have make a little mod for this change.

W_clear excuse me !!!
Torpedo is offline   Reply With Quote