March 4, 200818 yr 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.
March 4, 200818 yr 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
March 4, 200818 yr 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
March 5, 200818 yr 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
Create an account or sign in to comment