Configuring the reentry effects

From KSP 2 Modding Wiki
Revision as of 17:31, 2 February 2024 by Safarte (talk | contribs) (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
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