Post news RSS Showing damage on ships

A few weeks ago I was researching how to show damage on ships. I found a gif of the game "Everspace" that I liked a lot. So I tried to make my own shader to display the damage in a similar way.

Posted by on

A few weeks ago I was researching how to show damage on ships. I found a gif of the game "Everspace" that I liked a lot.
In this gif you can see how the damage is shown in Everspace:


As you can see, the effect is amazing but how do they do it? Well, looking closely I guess that there is a shader with two main textures, one normal and another damaged. Also there is a noise texture used as mask to uncover the damage.

Knowing that, I tried to make my own shader to show the damage.
My first step was to create a noise texture to use as a mask of damage textures and increase the incidence of the mask as the ship was damaged:


Then I added an emission texture to show sparks and burned areas. In addition I added another noise texture to simulate the flicker of the sparks:


At this point the shader looked great, but something was missing. I added a particle system to make the sparks move and look like the ship is losing material.
This is the final result:


I know it doesn't look so good as the damage of Everspace, but I'm very proud of how it looks considering that Between the Stars is being developed only by myself. I hope you like it.

Comments
Norundhien
Norundhien

Se ve muy bueno, suerte que tienen buen material!

Reply Good karma Bad karma+2 votes
TheBullet Author
TheBullet

Gracias!

Reply Good karma+1 vote
Dark_Sentinel
Dark_Sentinel

Looks fine.
You may want to have the possibility for "light damage" - denting paint to metal and just aging the paint, without heavy scarring.
And well, HLSL or GLSL?

Reply Good karma Bad karma+2 votes
TheBullet Author
TheBullet

Is a CG shader.
It's a good idea. I'll think how to do it. Thanks!

Reply Good karma+1 vote
BlackMagic333
BlackMagic333

That is so cool! I like how you show the progression.

Reply Good karma Bad karma+2 votes
TheBullet Author
TheBullet

Thank you!

Reply Good karma+1 vote
Guest
Guest

Nice effect. Looks great.

Reply Good karma Bad karma+1 vote
CaptainShack
CaptainShack

Nice effect. Looks great "needed to log in lol"

Reply Good karma Bad karma+2 votes
Gn0meSlice

The particle effect in particular is very clever. Well done!

Reply Good karma Bad karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.