How to create Vectrex(Vector) look in games ?

Hi all,

I wonder if its possible to create Vectrex(Vector) look-alike games like “Vector Tanks” (see Youtube: Classic Game Room HD - VECTOR TANKS for iPod review - YouTube) with built-in tools in Unity … I tried to paint the edges in my UV maps which looks crappy and I dont think that the Edge Detection FX in Unity Pro solves the problem.

So maybe one of you can tell me if & how the meshes must be prepared in a 3D program or/and if & how it can be done by code/tools/whatever (beside magic :slight_smile: in Unity.

Thanx,
Enradion

Well, in the video it’s not really a vector graphic. Real vector graphics doesn’t really have triangles, just vectors. The “vector tanks” game also haa a transparent mesh with gets more opaque when you come closer. Probably done with a second shader pass.

However you could use the BarycentricWireframeUv1 - shader to render a mesh just as wireframe. You just have to use baricentric uvs. So each corner of each triangle should be either (0,0) , (0,1) or (1,0). Shared vertices could get you in trouble but it should be no problem to map all triangles to those coordinates. If you don’t have shared vertices it’s very easy, since every triangle is on its own.

See here: Starscene Software - Vectrosity - Tank Zone