Mesh Outlines

Sep 4, 2008@11:37pm

Tsunami’s got outlines!

Tsunami Engine, now with outlines!

Nothing really fancy going on here, just bog-standard extension of vertex positions along normals, flip the face culling mode and render solid black. I thought about doing it as a post-processing effect using a Sobel filter, but I like having the lines get smaller on the objects as they get farther away.

Sadly, it wrecks havoc with non-volume geometry, such as the antennae. Thankfully this is easy to work around by just modifying the model, but I might put an edge case in to handle this sort of thing later on, if I should really need it.

Filed under: Games - Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *