Parallax
Parallax is a custom terrain shader for Kerbal Space Program that combines tessellation and displacement mapping to create realistic planetary surfaces.
Watch the trailer here: https://www.youtube.com/watch?v=7TjmvMywTN4
Features
Parallax completely replaces the terrain shader used in the normal game in favour of more and better features, including:
- Tessellation
- Self-shadowing
- Accurate lighting
- Accurate normal mapping
- Support for multiple lights
- Reflections
- Specular highlights
- Metallic materials
- Influence mapping
Improvements
The shader that Squad uses for Kerbal Space Program is extremely limited. You can only assign 2 textures that work unless you opt to use an extremely complicated 'Atlas' shader that was introduced in 1.9. We will pretend that the Atlas shader doesn't exist because it's only used on Kerbin and it is extremely unoptimized.
Parallax improves upon the stock shader in a number of ways, for example:
- Normal mapped lighting is accurate and faces the right way on a surface at any angle
- Tessellation allows surfaces to have much more complexity, allowing for the creation of lifelike planet surfaces
- Texture blending is a much smoother transition and varies based on the distance from the camera
- You can have a much greater amount of control over the planet - You have a low, mid, high and steep texture to use
- Complete control over how much colour of a texture to apply to the surface VS how much colour of the surface to retain (using an influence map). This prevents your grass from changing colour on brown terrain, but lets you change the sand colour as it varies with the planet's surface colour.
Availabity
Parallax has been created for my planet pack 'Beyond Home' for its beta stage so that I can spend time working on fixing any bugs and working on improvements / optimizations before the mod is used elsewhere.
As for system requirements, the trailer was recorded using the following specs - But these are NOT the recommended system specs:
- Intel i9 9900k, 5.0Ghz
- RTX 2080 Super
- 32GB DDR4
Keep in mind that the trailer was also recorded at 4k.
Installation
- Download the correct version of Parallax for your KSP version
- Download and install the correct version of Kopernicus for your KSP version - USE BLEEDING EDGE FOR 1.9 AND ABOVE
- Drag and drop the "Parallax" folder into GameData
- If you are using the stock planets, also download the "Parallax_StockTextures" folder and drag that into GameData
- Adjust any settings you need to in the config (Parallax/Config/ParallaxGlobal.cfg)
- Launch the game, and make sure your terrain quality is set to high