there has been a glowing edges shader for DX8 on the wiki, should be possible to port it to DX9, sadly i have no clue how v.v(this solution only works if you have COM or Pro).
If your version doesnt provide shadersupport, you could do the weapon model twice.
First one is normal and textured.
THe second one has the color of your line. The second model needs a scale above the scale of your first model.
If this is done, flip the normals of the second Model so that they're inside.
If you place the seond model now at the same position with the same rotation of the first model, the first model will have an outline.
THis works only if the modle is not hidden(so no throughwall look) and sadly it not glowing.
Greets
Rackscha
Last edited by Rackscha; 07/29/10 18:33.
MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development