.
Results 1 to 6 of 6

Thread: What causes light flickering, and how to fix it?

  1. #1
    Join Date
    Dec 2011
    Location
    USA Florida, Illinois and Virginia
    Posts
    1,403
    Blog Entries
    1
     

    Default What causes light flickering, and how to fix it?

    What causes light flickering, and how to fix it?

    When in nightmode, there are several scenery assets that 'flicker' their lights on and off radipdly (caution to epileptic viewers, do not watch)

    See this video;

    If it's not broke, don't fix it.


  2. #2
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    31,483
     

    Default

    Hi Chris,

    This is coplanar faces and Z-buffer fighting.

    The night-mode is a very thin mesh that's placed over the underlying building mesh. If the night-mode mesh is too close to the surface of the underlying building, the video card has trouble rendering the image as it attempts to render both objects at once.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    TRS2019/Trainz-PLUS: 114800
    TRS22 Beta tester

  3. #3
    Join Date
    Oct 2018
    Location
    USA - North Carolina
    Posts
    2,546
     

    Default

    I see that on many items even at 12 noon and full sun. Drives me crazy.


  4. #4
    Join Date
    Nov 2006
    Location
    Newcastle NSW Australia
    Posts
    7,272
     

    Default

    This is an error in mesh construction, but one which is not picked up as a fault by the Trainz validation checks. It can be fixed by the original creator (or somebody with permission and relevant software to fix it). The nightmode mesh, or other overlapping surfaces, need to be separated by as little as a couple more centimetres, so it’s usually easy to do once you have access to the 3D model.

    It may be worth contacting the creators to inform them of the problem and see if they are willing to fix it. They may not even be aware, since they obviously didn’t bother checking for it when they made the asset. The flickering sometimes only occurs from certain viewing angles or distances and is somewhat dependent on the quality of your graphics card, so it may not always be obvious.

    .
    Last edited by Dinorius_Redundicus; January 20th, 2022 at 04:31 PM.
    T:ANE SP4 (105946), TRS19 SP5 (117009), Max 2009/2012, PhotoShop
    Win10, i7 5820K, 3.3GHz, 32GB ram, GTX 980Ti 6GB, 2x512GB SSD

  5. #5
    Join Date
    Dec 2010
    Location
    United States of America, Maryland, Westminster
    Posts
    61
     

    Default

    I've experienced this flickering in the lit windows of several structures. I call them "poltergeist buildings." I'm not able to fix them, but have gotten some temporary relief by the simple expedient of saving and re-starting my driving session.

  6. #6
    Join Date
    Nov 2006
    Location
    Italy
    Posts
    521
     

    Default

    I usually position the night mode some 5 cm above the parent mesh to avoid that.
    Roberto (sister)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •