Mashinky

Jan Zelený · Simulation

Mashinky patch notes · Jan 10, 2020

Experiment

Rails and shadows rendering improvements

What's new in Rails and shadows rendering improvements: 9 changes to Mashinky, released Jan 10, 2020.

Content · 2

  • Specular highlights were added to rail frets as an experimental visual change not based on real-world observation.

    rail fret specular highlight
  • Overhead wires were redesigned with thinner wires and some shape changes.

    overhead wires redesign

System · 3

  • Shadow filtering was improved with better random sampling noise that is more coherent and blur friendly.

    soft shadow filtering
  • Solid geometry for overhead wires and rail frets was replaced with planes using textures and shader effects, cutting about 50% of rail geometry polygons and improving rendering speed.

    rail geometry polygon count
  • Depth of field was implemented for transparent rail frets and overhead wires by using lower mipmaps based on circle of confusion instead of blurring the image.

    depth of field on transparent object

UI · 1

  • The shadow quality selection now also affects shadow resolution, not just update frequency, allowing double precision shadows or faster rendering on low-spec hardware.

    shadow quality setting

Fix · 2

  • An anti-aliasing shader was added to rail frets, fixing the moire visual noise seen at a distance.

    rail fret moire effect and visual noise at distance
  • A new anti-aliasing shader makes distant wires fade out transparently instead of producing flickering pixels.

    overhead wire aliasing (pixel flickering at distance)

General · 1

  • The gravel border was softened by fading normal and glossiness maps, extending gravel under the ground, and bending vertex normals to blend with surrounding ground.; The mask controlling surrounding gravel on the ground was updated so there is less gravel around rails.

    general