Search the Community
Showing results for tags 'triple monitor'.
Found 1 result
-
DX10 Rain Fix Shader (Surround Too!)
MattNischan posted a topic in DX-10 Discussions, Hints and Help
Hello all, I recently purchased another monitor and a GTX680 to utilize a triple monitor Surround/Eyefinity setup. All was well, until I saw the rain. Wow! What an awful effect. And, furthermore, the rain graphic was not nearly filling the entire drawing surface at certain angles, especially in spot view. Basically, it looks like the rain effect is very simple. FSX simply draws a transparent cylinder that is always transformed to screen space. This cylinder is textured with a repeating series of small rain textures which are scaled lengthwise to the rain intensity as well as moved along the surface of the cylinder a bit each frame. FSX then rotates this cylinder based on various inputs, such as wind direction, aircraft velocity, and camera movement. All in all, the effect is pretty darn terrible, but given the limited number of inputs passed in to the shader, there's not a whole lot that can be done. However, I was able to fix a few problems. Firstly, the rain cylinder will no longer be cut off at extremely wide resolutions. The problem was that the cylinder was intersecting with the camera plane, and therefore clipped. I also incorporated the prior suggested fix for the opposite problem, which is when the cylinder intersects with the environment and gets clipped. The solution in the first case was to scale the rain cylinder 4x in the x and y directions, and in the latter case to disable z-buffer tests. I also took the liberty of decreasing the opacity of the rain a touch as well as making the streaks a little smaller. This reduces the "millions of fat laser beams" effect. At very wide exterior zooms this looks marginally worse than the original, and better in pretty much all other cases. I have attached the .fx file. Place it into your ShadersHLSL\misc\ folder in your FSX install. Be sure to make a backup of the original as well as delete the DX10 shader cache before running FSX. The shader cache can be found in your Windows user folder, under AppData (Application Data in XP), then local\Microsoft\FSX\. Just remove the Shaders10 folder and FSX will rebuild the shader cache. You can find the file here: http://www.sounduit.com/rain40.zip -Matt- 47 replies
-
- widescreen
- triple monitor
-
(and 5 more)
Tagged with: