Mesh borders

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
Ozz
Gnoblar
Posts: 2
Joined: Fri Sep 26, 2014 5:31 pm

Mesh borders

Post by Ozz »

Hey Guys!
I need help here. I build a 3D blueprint sketch program for robots. Here an example:
Image

Now, all mesh parts (spheres, tubes, cones) have to have a thick white border and colors inside. Is it possible to do this with material scripts? Or any other ideas? My main problem is to set the color of the borders and bodies... in that picture above I used only ambient and diffuse

Greetz
Ozz
drwbns
Orc Shaman
Posts: 788
Joined: Mon Jan 18, 2010 6:06 pm
Location: Costa Mesa, California
x 24

Re: Mesh borders

Post by drwbns »

My first thought is to look at a glow shader. otherwise im not sure...
Slicky
Bronze Sponsor
Bronze Sponsor
Posts: 614
Joined: Mon Apr 14, 2003 11:48 pm
Location: Was LA now France
x 25

Re: Mesh borders

Post by Slicky »

Shader is probably best but you could also try two UV sets and assign different materials.
Post Reply