Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Forcing a shader cache rebuild with simconnect

Featured Replies

Hi,Not sure if its possible, but I thought I'd ask anyway!I am currently helping to develop FS Water Configurator, a freeware program that alters the FSX water shader file through a GUI. Basically, you change settings for reflection intensity etc. clear the shader cache and start FSX. The shader cache then gets rebuilt with your changes.We are trying to discover a way to do this on-the-fly with the sim running. FSX will rebuild its shader cache if you alt-tab from full screen mode to the desktop and then back, but not in windowed mode or without the alt-tab.My question is: is there a way to make FSX rebuild the shader cache through simconnect? Maybe force a graphics rebuild somehow?Thanks for your help,Paul.

  • Commercial Member

>My question is: is there a way to make FSX rebuild the shader>cache through simconnect? Maybe force a graphics rebuild>somehow?There's the REFRESH SCENERY event, which must force that, but it will bring up a progress bar and possibly stall the simulation for some seconds.RegardsPete

Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Thanks Pete. That will help alot. It's not ideal as it would be great to do it without rebuilding the whole scenery, but its better than nothing!Cheers,Paul

I think the Alt-Tab triggers a loss of the DirectX 9 / 10 render device. This results in the application having to release and re-allocate ALL of its graphics resources, including the shader.So you need to find another way to make the application lose its device. For example by opening another DirectX front window in full screen mode ;)Christian

Thanks Christian. That one could be very useful!Paul

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.