x


Set Terrain Normals

Hi,

I'm making a grid of terrains. I make sure that the vertexes of neighbouring terrains match, so there are no gaps. There is one problem though, the normals of the vertexes don't match, so there is a very noticeable line in the shading. Is there any way to edit the vertex normals of a terrain?

Thanks ! -P

more ▼

asked Jan 18 '12 at 08:31 PM

The Oddler gravatar image

The Oddler
253 27 36 45

I managed to reduce the line by fiddling a bit with the texture and it's tiling, though the normals still cause a bit of a problem. Anyone?

Jan 19 '12 at 04:26 PM The Oddler

I now added grass, and this also masks this edge, though still visible. Bump?

Jan 21 '12 at 11:44 AM The Oddler
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

In this answer one commenter said that you have to call "Terrain.Flush()" after you set the neighbours to fix the terrain normals.

more ▼

answered Mar 10 '12 at 11:03 AM

Rabbit-Stew-dio gravatar image

Rabbit-Stew-dio
588 5

(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:

x1478
x122

asked: Jan 18 '12 at 08:31 PM

Seen: 681 times

Last Updated: Mar 10 '12 at 11:03 AM