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 » Sun Nov 30, 2014 4:55 pm

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
0 x

drwbns
Orc Shaman
Posts: 777
Joined: Mon Jan 18, 2010 6:06 pm
Location: Costa Mesa, California

Re: Mesh borders

Post by drwbns » Thu Dec 04, 2014 3:35 pm

My first thought is to look at a glow shader. otherwise im not sure...
0 x

Slicky
Bronze Sponsor
Bronze Sponsor
Posts: 537
Joined: Mon Apr 14, 2003 11:48 pm
Location: Was LA now France
x 12

Re: Mesh borders

Post by Slicky » Thu Dec 04, 2014 4:58 pm

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

Post Reply