Reflections - Gameslinx/Tessellation GitHub Wiki
Reflections
Reflections are accurate and rendered from a reflection probe at the camera that is reflected in the terrain.
Performance
It is worth noting that reflections require a complete re-render of the current scene. Unfortunately, I cannot create screen space reflections because KSP does not use the deferred rendering path. Reflections will be too intensive for the average user to run. There are options in the ParallaxGlobal.cfg that can reduce the quality and refresh rate of reflections.
Format
Reflections are determined by the alpha channel. A higher alpha value indicates a higher reflectivity. Specular highlights are also applied this way on top of the reflection.
Setup
To enable reflections, one must set hasWater
to true
in the planet's Parallax config. Then, the reflection mask should be set accordingly. The reflection mask by default is 0, 0, 0, 0
. The order is low, mid, high, steep
, so a reflection mask 0, 1, 0, 1
enables reflections in the mid texture and the steep texture.