Jump to content
Sign in to follow this  
David Roch

DX10 et la pluie: Problème et solution

Recommended Posts

A la grande loterie de FSX, certains, chanceux, obtiennent des résultats bien meilleurs avec DX10 qu'avec DX9, ce qui est mon cas.En dehors de quelques problèmes de drivers pas tout à fait adaptés mais secondaires (scintillement des taxiways, marquages au sol, runways) un des problèmes qui me gênait vraiment beaucoup était celui de la pluie semblant faire un arc de cercle autour de l'avion en vue externe et depuis le cockpit 3D. Si vous êtes dans ce cas ET QUE VOUS AVEZ UNE CARTE GRAPHIQUE A CHIPSET NVIDIA je vous propose une solution qui règle ce problème.1) Aller dans le dossier Microsoft Flight Simulator XShadersHLSLmisc2) Sauvegarder le fichier Rain40.fx par précaution et en garder une copie au chaud "aukazou!".3) Ouvrir ce fichier avec Notepad ou n'importe quel éditeur de texte.4) Supprimer les dernières lignes depuis "technique10 T0" càd le texte suivant:technique10 T0{ pass P0 { SetVertexShader(CompileShader(vs_4_0, VS())); SetGeometryShader(NULL); SetPixelShader(CompileShader(ps_4_0, PS())); }}5) remplacer le texte supprimé par les lignes de codes suivantes: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 );}Attention de bien copier la totalité du texte, parenthèses et accolades incluses!Modification réalisée grâce au White Paper publié par Nvidia:http://developer.download.nvidia.com/white...KWhitePaper.pdfEn espérant que d'autres tireront profit de cette petite trouvaille :--)


Best regards,
David Roch

AMD Ryzen 5950X //  Asus ROG CROSSHAIR VIII EXTREME //  32Gb Corsair Vengeance DDR4 4000 MHz CL17 //  ASUS ROG Strix GeForce RTX 4090 24GB OC Edition //  2x SSD 1Tb Corsair MP600 PCI-E4 NVM //  Corsair 1600W PSU & Samsung Odyssey Arc 55" curved monitor
Thrustmaster Controllers: TCA Yoke Pack Boeing Edition + TCA Captain Pack Airbus Edition + Pendular Rudder.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...