Skip to content

Rendering fixes

Rendering bugs of the PC version that Ringworld fixes.

Shaders

  • Glass: three bugs in the active camouflage fade, the mirror reflection and the lightmap pass. Tint and diffuse are drawn even when the mirror reflection is off.
  • Environment shaders: three specular and reflection bugs.
  • Model shaders:
    • The detail after reflection flag had the opposite effect. Without the flag, the detail map now changes only the base map, which is then lit and gets its reflection on top. With the flag, the detail map is applied last, over the lit color and the reflection.
    • Self-illumination has the right color on models drawn without complex fog.
    • Models with the environment detail mask get the right fog.
    • Lighting and reflections are clamped before the detail map is applied, so bright areas no longer go past white.
    • Models with the environment detail mask mask their reflection with the alpha of the base map multiplied by the alpha of the detail map.
  • Transparent generic shaders are drawn in the transparent geometry pass, where the stock game skipped them. See Transparent generic shaders.
  • Transparent chicago shaders: the multiply blend mode is correct.
  • Multitexture overlays blend correctly.
  • Water: bump map mipmaps work.
  • 32 bit textures are sampled correctly, which fixes the look of several blue effects.
  • Y8 and A8Y8 bitmaps draw correctly.
  • Mirrors render at full resolution.

Resolution independent effects

  • Sun glow is sized to the resolution.
  • The scope blur radius scales with the resolution.
  • Screen effect masks, like scope masks, keep their aspect ratio.
  • Model level of detail is picked from the screen height, so higher resolutions do not force lower detail.

Other fixes

  • Decals no longer flicker against the surface they are on.
  • The active camouflage path is picked from what the graphics card can do, instead of from a list of old graphics card vendors.
  • Modern and integrated graphics cards are no longer treated as unsupported.
  • Fixed index buffer locks that failed with some drivers.
  • The body baked into the highest level of detail of the Pillar of Autumn cryo tubes no longer shows from outside the tubes during cutscenes.