- Apr 22, 2008
- Reaction score
Have you seen the new reentry effects of version 0.19? Really nice!!!
Effects change according to ship shape and velocity vector real time...
Can we make anything like this using D3D9 or D3D11? Is it possible?:crystalball:
Thanks! I'm happy with how they came out, though I would have liked to spend more time on it, tweaking and adding details.
As to your question, it should be perfectly possible, since Unity runs on D3D9 itself. The effect is all done by a shader, which renders the flames using multiple passes and a shadowmap-like occlusion system (to prevent 'shielded' parts from flaring up when protected from the airstream).
The camera setup for it was relatively tricky. IDK how that would traslate to other projects... KSP already uses multiple cameras and rendering layers, so this was just one more camera to add here. But as long as you can render geometry with a replaced shader, it should be very much doable.