Topic: Outline shader for buildings
Hi,
I'm trying to make an outline effect on the buildings with a shader. It works perfectly fine on a cube but when I add the roof and wall materials (with the same shader as used on the cube) on the buildings script it does not seem to work. I don't really know how the buildings are created and how the materials are added to the buildings but it seems that a building and a cube have a comparable mesh so I don't know why it's not working.
Is there anyone that has done this before or knows how the materials/meshes/textures work with adding them to the buildings?
(Cube is on the left, one of the generated buildings is on the right. As you can see not all the edges are filled with the material like with the cube.)
Thanks!