Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Configuring the reentry effects

From Kerbal Space Program 2 Modding Wiki
Revision as of 18:31, 2 February 2024 by Spacewarp>Safarte (Start working on reentry effects setup tutorial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Prerequisites:
Setting up Unity
Modeling the mesh in Blender
Configuring the part in Unity
File:Reentry envelope.png
Figure 1. Reentry effect envelope

This tutorial will help you setting up reentry effects for your KSP2 modded part by guiding you through creating the reentry meshes and setting up everything needed in Unity.

Introduction

Reentry effects for parts in KSP2 are based on a custom shader which creates some flames coming out of an envelope surrounding the part (see Figure 1).

This envelope is defined for each part using a set of what we'll call reentry meshes. These meshes are set up in order to have a Level of Detail (LOD) system where a high fidelity mesh is used when looking at the part from very close and a less detailed when when looking from afar.

Reentry meshes