x


strange textures with directional light[solved]

Hello, I have a free version of Unity 3.1. To check out the beast lightmapping feature I did the following:

1.made a 3d wall with a texture in Blender

2.imported in the scene

3.copy pasted the wall repeatedly to make a longer wall

But the individual walls have a really strange appearance when I added a directional light and play. Like this :

link text

There are some strange shadows on the corners on each wall. Even after lightmapping, I had the shadows on the terrain due to the wall but the problem remains. How do I solve this?

Thanks in advance!

more ▼

asked Jan 12 '12 at 10:59 AM

vatsalAtFEI gravatar image

vatsalAtFEI
734 13 19 25

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

You can't tell from that shot, but your wall must be 3D, not just a plane, because your normals are averaged with vertices that extend into the orthogonal axis. You can either let Unity calculate normals, or use the Edge Split modifier (setting the mesh to "Solid" instead of "Smooth" may work as well, if that's the effect you want). In either case, knowing this, you should be able to find many posts on the subjects here and on the forum.

more ▼

answered Jan 12 '12 at 03:00 PM

Jessy gravatar image

Jessy
15.7k 72 95 198

Thanks a lot!

Jan 13 '12 at 07:05 PM vatsalAtFEI
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x445
x209
x178
x31

asked: Jan 12 '12 at 10:59 AM

Seen: 787 times

Last Updated: Jan 13 '12 at 07:05 PM