Ship reflections

From BallisticNG Wiki
Jump to: navigation, search

This article is a stub. You can help BallisticNG Wiki by expanding it.

  • Ship reflections are achieved through Unity "Reflection Probes".
  • Cube maps are outside the scope of this documentation (see Wikipedia's explanation).

Reflection Probes[edit | edit source]

Reflection probes are a feature in Unity that allow you to bake or generate cubemap reflections at runtime from a given point. BallisticNG's ships use these when ship reflections are turned on.

If you want to setup reflection probes on your track, make sure you set:

  • The type to Realtime
  • Refresh mode to "On Awake"
  • The resolution to 64

This will generate the cubemap with a resolution of 64x64 when your custom track loads.

You should see the reflection pop up inside the gizmo sphere that is placed where your reflection probe is.

Next up: Skies