January 11, 201412 yr In order to eliminate momentary ugly black squares over airports lighting I found this___________________________________________________"go to the ShadersHLSL folder in your ROOT Flight Simulator X directory, and locate a folder called Common, inside that folder you will find a file called Common.fhx (make a backup of that file so you keep the original) and change the following line:CODEdword State_TextureWrap : STATE_TEXTUREWRAP = D3DTADDRESS_WRAP;to look like this:CODEdword State_TextureWrap : STATE_TEXTUREWRAP = 0;after doing the change, you need to DELETE the shader cache located in C:\Users\YOURUSERNAME\AppData\Local\Microsoft\FSX__________________________________________________it works very well except now all my FS9 planes show as ghosts without textures applied.Is there a way of combining those two and making a texture visible as well as fixing the ugly black squares?I am loving your fixer and using it successfully to increase the speed of DX9THMike Sim,PC, monitor,prescription glasses, chair.
January 11, 201412 yr Commercial Member Hi Mike, My tool is solely for DX10 - I am afraid I don't see how it can influence DX9 in any way. I have no idea what the "fix" you are using is meant to do. Insofar as I can see (there are threads about filled with misleading statements about it) it changes the value of a static variable from 1 to 0. That variable is then used in MaterialDecl.fxh to define how the texture samples handle u,v (texture coordinates) outside the range 0-1 The value 1 corresponds to wrap which means that the texture is tiled O is not a valid value - I have no idea what happens - perhaps the texture isn't sampled. If so any objects that have u,v coords in range 1-2 will disappear when the fix is applied. Which is presumably your problem. I would undo the fix and try to alter other fsx.cfg values that might tune texture display. FFTF for example. Steve My FSX Analysis Blog
January 12, 201412 yr Author Steve- thank you for your reply and for the technical explanation but I am not on this level This post is not necessary about DX10 since I am not using it I am thinking,you are knowledgeable tinkerer like many of us are, and you will be interested to improve our simulator . I am not very technical but when I do this fix, that ugly black squares of airport lights that appear for a fraction of a second are not there it makes for lot better experience I have pretty decent system and even on that I get a ugly black squares for a moment before airport lighting system appears I thought getting rid of those black squares would be a vast improvement Sim,PC, monitor,prescription glasses, chair.
January 12, 201412 yr that fix works in DX9, where besides getting rid of black squares it also makes some textures invisible (for instance, WOAI planes appear white). From my experimenting, it has no effect whatsoever when using DX10.
Create an account or sign in to comment