Emissive behind glass

Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der 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:

Teilen