December 11, 201312 yr "I would certainly not expect seven-year-old code to be used in a program written in 2013." Well... if it works... Thanks Paul, I found it... but deeply appreciate ya posting a link. On the other hand, I don't beat my wife... but I do kill baby seals, raise kittens for fur coats, and don't recycle!
December 11, 201312 yr :LMAO: :LMAO: i7 [email protected] | 32GB RAM | EVGA RTX 3080Ti | Maximus Hero VII | 512GB 860 Pro | 512GB 850 Pro | 256GB 840 Pro | 2TB 860 QVO | 1TB 870 EVO | Seagate 3TB Cloud | EVGA 1000 GQ | Win10 Pro | EK Custom water cooling.
December 11, 201312 yr this file is very likely redundant - simply left there, to be removed at some future date Well I deleted the rain40.fx file and went for a fly in the rain and there were no adverse consequences. So it probably is redundant as you say and that would be an obvious explanation of why the fix does not work. I note that every file in \misc seems to be in C++ so I guess the hole folder might be redundant. gb. YSSY. Win 10, [email protected], Corsair H115i Cooler, RTX 4070Ti, 32GB G.Skill Trident Z F4-3200, Samsung 960 EVO M.2 256GB, ASUS Maximus VIII Ranger, Corsair HX850i 850W, Thermaltake Core X31 Case, Samsung 4K 65" TV.
December 11, 201312 yr High Level Shader Language HLSL is the language used in DirectX 9, 10 and 11 to code these small vertex and pixel shader programs. The syntax is pretty much identical to the C language with some pre-defined types. HLSL program files are composed of global variables, type defines, vertex shaders, pixel shaders, and geometry shaders. :- www.rastertek.com i7 [email protected] | 32GB RAM | EVGA RTX 3080Ti | Maximus Hero VII | 512GB 860 Pro | 512GB 850 Pro | 256GB 840 Pro | 2TB 860 QVO | 1TB 870 EVO | Seagate 3TB Cloud | EVGA 1000 GQ | Win10 Pro | EK Custom water cooling.
December 11, 201312 yr Gents, Even though P3Dv2 has whizz bang DX11 magic, the rain FX looks terrible, even more so when HDR is on - hopefully this can be tweaked as flying in rain conditions, especially at night, is far from realistic with that cylinder of streaks coming at you !
December 11, 201312 yr especially at night, is far from realistic with that cylinder of streaks coming at you ! In my experience of real flying... flying in the rain, even very light rain, you can't see sh#$t out the front window.
April 15, 201412 yr Hi, Does anybody here have a copy of the rain40.fx modified by Matt Nischan? None of the links in this post are working. So it would fine, if the file could be uploaded here. Rgds Reinhard
April 15, 201412 yr Hi, Does anybody here have a copy of the rain40.fx modified by Matt Nischan? None of the links in this post are working. So it would fine, if the file could be uploaded here. Rgds Reinhard +1 Ted
April 17, 201412 yr Go to the ShadersHLSL/Misc folder and make a copy of your Rain40.fx then open up Rain40.fx with notepad and copy and paste the following into the file overwriting everything in the file. Save. Now go to the temporary DX10 Shaders folder and delete it (it will be rebuilt) - (Your User Name)\\AppData\Local\Microsoft\FSX\Shaders10. Hope this helps. //------------------------------------------------------------------------------// Copyright © Microsoft Corporation. All Rights Reserved.//------------------------------------------------------------------------------#include "Rain40.fxh"struct VS_INPUT{float4 vPosition : POSITION;float4 cColor : COLOR0;float2 TexCoord : TEXCOORD;};struct VS_OUTPUT{float4 vPosition : SV_POSITION;float4 cDiffuse : COLOR;float2 TexCoord0 : TEXCOORD0;float2 TexCoord1 : TEXCOORD1;};VS_OUTPUT VS(const VS_INPUT In){VS_OUTPUT Out = (VS_OUTPUT) 0;Out.vPosition = mul(In.vPosition, g_mWorldViewProjection);Out.cDiffuse = In.cColor;Out.TexCoord0 = mul(In.TexCoord, g_mTextureTransforms[0]);Out.TexCoord1 = mul(In.TexCoord, g_mTextureTransforms[1]);Out.TexCoord0 += g_mTextureTransforms[0][2];Out.TexCoord1 += g_mTextureTransforms[1][2];return Out;}float4 PS(const VS_OUTPUT In): SV_TARGET{float4 cColor0 = txTexture0.Sample(samSampler, In.TexCoord0);float4 cColor1 = txTexture1.Sample(samSampler, In.TexCoord1);return float4(0.5,0.5,0.5,In.cDiffuse.w) * (cColor0 + cColor1);}DepthStencilState EnableDepth{DepthEnable = TRUE;DepthWriteMask = ALL;DepthFunc = LESS_EQUAL;};DepthStencilState DisableDepth{DepthEnable = FALSE;DepthWriteMask = ZERO;};technique10 T0{pass P0{SetVertexShader(CompileShader(vs_4_0, VS()));SetGeometryShader(NULL);SetPixelShader(CompileShader(ps_4_0, PS()));SetDepthStencilState( DisableDepth, 0 );}} Jim Young | AVSIM Online! - Simming's Premier Resource! Member, AVSIM Board of Directors - Serving AVSIM since 2001 Submit News to AVSIMImportant other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS) I7 8086K 5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10
April 19, 201412 yr I have attached the .fx file. Place it into your ShadersHLSL\misc\ folder in your FSX install. Be sure to make a backup of the original as well as delete the DX10 shader cache before running FSX. The shader cache can be found in your Windows user folder, under AppData (Application Data in XP), then local\Microsoft\FSX\. Just remove the Shaders10 folder and FSX will rebuild the shader cache. I did as instructed and I have noticed that the Rain Shader option in the DX10 Fixer is now grayed out. This option is not available to me anymore. Any suggestions? Ted
April 19, 201412 yr I did as instructed and I have noticed that the Rain Shader option in the DX10 Fixer is now grayed out. This option is not available to me anymore. Any suggestions? Ted Ted, Steve's Fixer fixes the rain display problem all by itself so you do not need the rain40.fx file posted above. The Rain Shader option is greyed out because it needs the original rain40.fx file to still be there. gb. YSSY. Win 10, [email protected], Corsair H115i Cooler, RTX 4070Ti, 32GB G.Skill Trident Z F4-3200, Samsung 960 EVO M.2 256GB, ASUS Maximus VIII Ranger, Corsair HX850i 850W, Thermaltake Core X31 Case, Samsung 4K 65" TV.
April 21, 201412 yr Ted, Steve's Fixer fixes the rain display problem all by itself so you do not need the rain40.fx file posted above.The Rain Shader option is greyed out because it needs the original rain40.fx file to still be there. Replaced the original file. All ok now. Thanks for the help Ted
April 21, 201412 yr What kind of FIX is this? i use SteveFX's fixer, do I need it? Riccardo OS: Windows 10-64 bit, CPU: i7-7700K @4.20 GHz, GPU: Gigabyte GeForce GTX 1080 G1 8GB GDDR5, RAM: Corsair Vengeance DDR4 32GB 3000MHz, MB: MSI Z270
April 21, 201412 yr What kind of FIX is this? i use SteveFX's fixer, do I need it? According to gboz above, you do not need it as it is replaced by the DX10 Fixer. Best regards, Jim Young | AVSIM Online! - Simming's Premier Resource! Member, AVSIM Board of Directors - Serving AVSIM since 2001 Submit News to AVSIMImportant other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS) I7 8086K 5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10
Create an account or sign in to comment