Jump to content
Sign in to follow this  
fakeflyer737

Delete Shaders

Recommended Posts

Is it common practice to delete the Shaders Folder for P3D after installing massive amount of Scenery?
 

Cheers!


Ron Hamilton

 

"95% is half the truth, but most of it is lies, but if you read half of what is written, you'll be okay." __ Honey Boo Boo's Mom

Share this post


Link to post

So i hear,   but i deleted my Shader Folder and my PD3 would not start again,  and had to run the Installer to fix it.  I probably deleted the wrong one though.  Actually now that i think about it i deleted the Shader Folder in my PD3 Folder and not in the one in Config file,   so there go,  i answered my own question. 


 

 

 

Share this post


Link to post

Poppet - LOL! We don't have to hit you in the head WITH A 2X4 to get your attention!

 

Yes, the ShadersHLSL folder is NOT the one you want to delete.

 

C:\Users\<YOU>\AppData\Local\Lockheed Martin\Prepar3D v2\Shaders is the one you want.

 

Vic

  • Like 2

 

RIG#1 - 7700K 5.0g ROG X270F 3600 15-15-15 - EVGA RTX 3090 1000W PSU 1- 850G EVO SSD, 2-256G OCZ SSD, 1TB,HAF942-H100 Water W1064Pro
40" 4K Monitor 3840x2160 - AS16, ASCA, GEP3D, UTX, Toposim, ORBX Regions, TrackIR
RIG#2 - 3770K 4.7g Asus Z77 1600 7-8-7 GTX1080ti DH14 850W 2-1TB WD HDD,1tb VRap, Armor+ W10 Pro 2 - HannsG 28" Monitors
 

Share this post


Link to post

 

 


Yes, the ShadersHLSL folder is NOT the one you want to delete.

C:\Users\\AppData\Local\Lockheed Martin\Prepar3D v2\Shaders is the one you want.
Yes it took me 5 months to realize even though my PD3 was on a my "K" drive i also had a secret hidden folder of mystery on my C drive with all different kinds of wonderment and settings to play with and change to my own liking   :rolleyes:

 

 

 

Share this post


Link to post

Hi

 

I have just installed Orbx Australia and holgermesh, do I need to delete my shaders folder ?

 

Thanks in advance.

Share this post


Link to post

Probably not but it doesn't hurt. You really don't have to delete the shader cache unless you [re]install video drivers, add or replace any effects or clouds, etc. Look through the ShadersHLSL folder and you'll get an idea of the sorts of things that are involved; however, the cache that you want to clear out is in the AppData folder. The ShadersHLSL folder merely contains all of the instruction sets that the simulator uses in order to build the cache file. Absolutely no harm in clearing out the cache folder. In fact, I've built a batch file to do so:

 

del "C:\Users\XYZ123\AppData\Local\Lockheed Martin\Prepar3D v2\Shaders\*.*?"

 

where XYZ123 is your Windows logon username.

 

Create a shortcut for the batch file and run it whenever you want. You'll notice a short delay when you load the sim up because the sim is reloading shaders.

Share this post


Link to post

Probably not but it doesn't hurt. You really don't have to delete the shader cache unless you [re]install video drivers, add or replace any effects or clouds, etc. Look through the ShadersHLSL folder and you'll get an idea of the sorts of things that are involved; however, the cache that you want to clear out is in the AppData folder. The ShadersHLSL folder merely contains all of the instruction sets that the simulator uses in order to build the cache file. Absolutely no harm in clearing out the cache folder. In fact, I've built a batch file to do so:

 

del "C:\Users\XYZ123\AppData\Local\Lockheed Martin\Prepar3D v2\Shaders\*.*?"

 

where XYZ123 is your Windows logon username.

 

Create a shortcut for the batch file and run it whenever you want. You'll notice a short delay when you load the sim up because the sim is reloading shaders.

Thank you

Share this post


Link to post

prefer to reduce Detail Settings and won t try to delete Folders i m not sure about. also, a lot of time is spent installing all sorts of extras and less in flying simming and Navigation i found.

Share this post


Link to post

Or you could simply add an entry to the Prepar3D.CFG file to automatically rebuild the shaders for you...

 

...anytime a change is made that requires a recompile of the shaders, this number will be incremented.

[GRAPHICS]
SHADER_CACHE_VERSION=1

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post

As I understand, the only time you have to delete the Shaders-folder is when you change/upgrade your Graphics card. 

 

 

Jack

the Swede in Spain

Share this post


Link to post

 

Or you could simply add an entry to the Prepar3D.CFG file to automatically rebuild the shaders for you...

 

...anytime a change is made that requires a recompile of the shaders, this number will be incremented.

[GRAPHICS]
SHADER_CACHE_VERSION=1

 

Bill I think you have this back to front.

You have to manually change this number each time you want the shaders to be deleted.

With SHADER_CACHE_VERSION=1 in the cfg the shaders will not be deleted until you change it to some other number eg SHADER_CACHE_VERSION=2.

Nothing really automatic about it except it saves people having to search for the correct shader folder.

 

gb.

As I understand, the only time you have to delete the Shaders-folder is when you change/upgrade your Graphics card. 

 

 

Jack

the Swede in Spain

 

Jack not really correct.

LM recommend deleting the Shaders after any change in the p3d.cfg as well as graphic card or video driver changes.

That's one reason there is that SHADER_CACHE_VERSION=1 option there.

Deleting shaders will do no harm and is worth trying with any graphical problem.

 

gb.


YSSY. Win 10, 6700K@4.8, 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.

Share this post


Link to post

Jim Barrett

Licensed Airframe & Powerplant Mechanic, Avionics, Electrical & Air Data Systems Specialist. Qualified on: Falcon 900, CRJ-200, Dornier 328-100, Hawker 850XP and 1000, Lear 35, 45, 55 and 60, Gulfstream IV and 550, Embraer 135, Beech Premiere and 400A, MD-80.

Share this post


Link to post

 

 


Like Yoda talking he was.

 

:)

 

gb.


YSSY. Win 10, 6700K@4.8, 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.

Share this post


Link to post

The AVSIM CTD Guide, page 5, provides guidance on deleting the Shader folder including where they are located.  It also recommends periodically removing the facilities/scenery indexes too.  That's interesting about the shader_cache_version parameter in the fsx/p3d configs brought up by Bill and subsequently discussed by gb and Jim Barrett.  Always learning something new.

 

Best regards,


Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important 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 

 

Share this post


Link to post

Bill I think you have this back to front.

You have to manually change this number each time you want the shaders to be deleted.

With SHADER_CACHE_VERSION=1 in the cfg the shaders will not be deleted until you change it to some other number eg SHADER_CACHE_VERSION=2.

Nothing really automatic about it except it saves people having to search for the correct shader folder.

The exact statement in the "Tuning Guide" is very ambiguous at best:

 

 

Using this rebuilds your shader cache by incrementing the number each time you make a change to the Prepar3D.cfg.

In truth, it could be interpreted either way... :Silly:

 

Like most languages, English is fully capable of being structured such that there is great precision and expression of thought, and thus any and all ambiguity is eliminated.

 

Obviously, whoever authored the above quote is no great master of the language... :LMAO:


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post

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...