Jump to content

Rain Textures look horrible


Recommended Posts

Pollution simulation ? ;-)

 

Hmmmm, given cleansing of the shader cache a trial?

Don't stress about deleting the shader cache files as they are all created on the fly anyway...

 

Clearing all the cso files in path ~\AppData\Local\Lockheed Martin\Prepar3D v4\Shaders

 

I did have some wierd things happen at one time where I made changes and then didn't clear the shader cache - see pic.

 

I also mod the ~\Lockheed Martin\Prepar3D v4\ShadersHLSL\PrecipParticle.fx shader for some nicer looking rain and snow with the below values.

 

Line 100 is about where they are in my PrecipParticle.fx and a text editor is all it takes to edit, I use notepad++ myself (free).

 

// Control how long streaks face and how big they are.
// TBM 03/02/2019 change the calculated value for a smaller looking rain/snow effect.
    float height = cb_fQuadSize * cb_fQuadSizeHeightScale / (2.4 - (cb_uPrecipType * 1.65));
    float width = cb_fQuadSize * cb_fQuadSizeWidthScale / (1.0 - (cb_uPrecipType * 0.25));

 

// TBM original values.

    //float height = cb_fQuadSize * cb_fQuadSizeHeightScale;
    //float width = cb_fQuadSize * cb_fQuadSizeWidthScale;

 

 

2FC155A1EE9B8D713C23D4BDB34C67090B4F01F9

Edited by Quantum Amiga
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...