DX10 VC Shadowing

I have been experimenting hacking the shadowmap logic to blur the shadow edge.

So see what you think





Its not totally perfect there is still a little movement on the shadow edge if you look very closely but the overall impression seems good to me. I will test a bit more and release in a few weeks.

About stevefsx

I don't use FSX that much. But I am very annoyed when it doesn't work properly!
This entry was posted in DX10. Bookmark the permalink.

35 Responses to DX10 VC Shadowing

  1. Paul Johnson says:

    Hmm.. Looks fine, Steve. I’m retired, and am on Avsim most of the day and can tell you – there’s a growing interest, with a goodly number admitting they have converted to DX10, period! Don’t stop.. Did you have any contact with Jesus Altova – Bojote in Avsim? It occurs to me that you both speak the same languages and it might be worthwhile touching base with him, with perhaps a brainstorming session as a result. Who knows where it might lead?

  2. Oliver Ooi says:

    wow! it looks so much nicer!

  3. TomazDrnovsek says:

    Dude, wow! You’re making things thought impossible.. possible!

  4. DannyH73 says:

    Steve – just a quick note of thanks on what you’re doing here. I actually deserted FSX in exchange for Prepar3d, as I like the extra stability they’re providing and other enhancements and now waiting for them to move the engine to DX11. But … now you’ve given me a reason to have FSX reinstalled alongside it, and only running it in DX10 mode. Really like where you’re heading with shadows now. Your work is really appreciated and I’m astounded at how much you’ve done in such a short amount of time.

  5. Hamza Nadda says:

    I got the Ground Flickering fixed thanks to you! The only problem I have left is this shadow problem! I look forward to seeing this fix! Great job Steve!

  6. Hamza Nadda says:

    Man I hope you can get this fix out for those of us who still use FSX!

  7. Anthony Vos says:

    Hi Steve, that shadow map looks avsolutely awesome! Are you close to releasing it?

  8. Anthony Vos says:

    Take your time, I understand!

  9. Patrik says:

    looks great! you rock!
    If you can fix this and the NAV lights on the plane, then there is no more reason to stay on DX9 for me! great work

  10. stevefsx says:

    I have uploaded a new version to Avsim Library v3.0 that includes the VC shader changes. There will be a delay whilst it is processed – but should be there later today.

  11. Hamza Nadda says:

    AWESOME! I’m already getting excited Steve! Please post a link when you have it up! Thanks man!

    • stevefsx says:

      its there now and the link at the top of the page still works.

      Let me know if you have any problems with the installation

      • Hamza Nadda says:

        Hey, I just downloaded it and opened up the zip file and went to the part 3 readme section. I copied and pasted it into the end of general10.fx and I got a black screen. Luckily I had a backup so I was able to save the game and get back to my previous settings (Which contained most of the fixes except for the jagged shadows). I think I know for a fact that I didn’t install it right. Any ideas what could possibly be wrong? If I try to run the setup.bat I get a message saying that it cannot write because general10.fx appears to be non original. If you can help I will really appreciate it! I think this is the final fix I need to get FSX DX10 fully functional! Thanks in advance!

    • stevefsx says:

      Hamza, yes I am afraid that the setup.bat doesn’t like it if you have edited by hand.

      I dont know quite what to suggest – do you have an original uneditted general10.fx? If not email me at the address in the zip file and I will try and figure out how to recover the situation.

  12. FrankK says:

    Have you found a way of increasing the “blackness” of the aircraft shadow on the ground in DX10 ?. At present I’m getting a very light grey and not that realistic while in DX9 its black.?

    • stevefsx says:


      Are you using enb series with DX9 – I dont see any great difference taking a quick look.
      Also what location and time of day are you looking at?


  13. Chas says:

    I cannot run the .bat file. The attributes of the file are read only and I have not been able to find a solution. I am using Win7 Please can you send me the modified file.


    • stevefsx says:


      I don’t fully understand your problem! Does the setup.bat run and if so what error does it display? Best to send me an email to the yahoo account in the readme file.

      • Chas says:

        Hello Steve,

        The .bat file does run but cannot modify the shader General10 file because it is read only. I have tried everything I can to allow the file to be modified, alas to no avail. I thought you might be able to send me a copy of the modified shader file to simplify things for me. I have manually edited the file previously, this time round I am not sure what I need to do to manually edit the file. The error reports…..”General10.FX has read only attribute set” when I run the .bat file.


  14. Paul Johnson says:

    Post #367 over at Avsim, Chas. Mine is working flawlessly, so I zipped it into my DropBox.


    The original General is also ther – in Post 337. (for safety)!!

  15. Chas says:

    Paul, many thanks for your help, you are a star!


  16. David Abreu says:

    Steve I made a video demonstrating you DX10 shadow fix.
    It really makes FSX look closer to DCS cockpit shadowing and
    what Microsoft released in “Flight!”. Awesome work. Hope you
    enjoy this simple video! Can’t thank you enough!

    My FSX simply crashes over and over in DX9 while ALT TABBING
    or ALT ENTERING. Thanks!

  17. mark says:

    hi Steve
    i just wanted to ask if there is a way to make aircraft self shadows also smoother if i am using DX9? Because they appear very block when looking from the wing view of PMDG aircraft…


    • stevefsx says:

      You could try setting


      In the [display] section of fsx.cfg

      According to the fsx sdk that’s the higher quality but it will occur anyway if the graphics slider is HIGH or ULTRAHIGH

  18. stevefsx says:

    Have you tried right click on setup.bat and selected “run as administrator”?

  19. Drew says:

    Steve, I got back into fsx and found your dx10 fixes, Thank you so much! Have you found a fix for flickering building shadows? JFK is a good example. Flickering on airport building roof tops when ground shadows are turned on.

  20. vinod kumar says:

    Hi Steve.. I just purchased the Captainsim 777 recently and have been running with your DX10 fixes.. In the VC, when i look out straight, everything in the cockpit is very dark/poorly lit. As i turn my head using EZDOK, things start to light up and shadows move, etc.. but i move my head back to pilot position, all shadows converge on the panel and whole cockpit gets dark (regardless of where the sun is relative to aircraft). When i move out of the VC, i see that there is a black capsule that surrounds the VC in captainsim 777. May be this is causing the problem?

  21. vinod kumar says:

    Hi Steve,

    I turned OFF HD shadows and it solved the problem completely! Don’t know why only captainsim 777 has a problem with HD shadows.. anyway, I can live without HD shadows for the 777 as long as i can enjoy other cool features of DX10. So thanks for the solution!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s