How to make a procedural reentry effect with burn marks like u can see in "Spaceflight Simulator" or "Kerbal Space Program"?

How to make a procedural reentry effect with burn marks like u can see in “Spaceflight Simulator” or “Kerbal Space Program” ?

Screenshot 2023-09-04 173339

There is a 10-year old video where KSP devs are showing how they did that effect:

thnks man didnt know it existed