Emissive behind glass

Willkommen in der Transport Fever Community

Welcome to the fan community of Transport Fever and Train Fever, the economic simulators of Urban Games. The community is free for you to share and inform yourself about the game. We cultivate a friendly and objective interaction with each other and our team will be happy to answer any questions you may have.

 

Registration and use is of course free for you.

 

We wish you a lot of fun and hope for active participation.

The Team of the Transport-Fever Community

  • After a patch, it is possible to use emissive materials lying behind glass via a small detour.

    A change introduced in the Thank-You Patch can influence the rendering order so that even lamps behind glass light up.
    Since the patch, the Z-buffer is no longer written through the material if the appropriate settings are made in the .mtl file (that's why there were also problems with the road bridges).
    For the lights this has the effect that the light is rendered after the glass, although it lies behind the glass. The render result of the glass is overwritten by the light render result.


    The necessary adjustment must be made in the material of the glass surface. It is recommended that the glass surfaces concerned be given their own material for this purpose, as otherwise undesirable side effects such as twisted render sequences, defective shadows, etc. can occur. The following code block must be inserted there.


    Lua: glas.mtl
    polygon_offset = {
      forceDepthWrite = false,
      factor = -1,
      units = -1,
    },

    Ingame, it looks like this:

Share