Cracked lighting
As I mentioned yesterday, I got a small problem with the lighting of the cracks… What on paper seemed like a good idea, a decal that would illuminate the surrounding area, in practice it looks terrible when an enemy passes through it:
The solution I found to this problem was to do some vertical attenuation… So instead of mapping the decal in the XZ planet as usual, I just consider the height from the center of the decal and attenuate the decal lighting, to look like it attenuates with the distance:
It looks fairly good, I think, without losing the coolness of the decals…
Now listening to “Chaos AD” by “Sepultura”
Comment
You must be logged in to post a comment.