I have problem with the terrain. What’s strange is that it’s working fine in the editor, and has been working fine when I build it. Now it doesn’t work when I build it. I’m not sure what I changed. In this screenshot you can see the mountains are black where there should be snow, but the rocky texture seems to be there. (the grays)
When you get closer the black disappears and the snowtexture reappears, so it seems to have something to do with terrain LOD? I use sixtimesnothing’s bumpmap terrain shader replacement so it might be in conjuction with that.
I have seen posts about similar problems, where people have adjusted base map distance, but I have it on 1000 and it’s around there the texture is missing. I have installed the latest unity 3.3 build.
Sorry I didn’t post a picture how it’s supposed to look and looks in the editor. But it’s whitish. The problem only happens when I build it and run in webplayer or standalone.
The blacks appear in square chunks and disappears in square chunks when camera gets closer.
Here is a new screenshot. In the background is the editor running where snow appears, to the left is standalone build. This time I set base map distance really short to show what happens.
did you try to remove all lights but a single directional one? or put the terrain in a layer where only such a one would affect it given any affect it?
if its lightmapped check the lightmap, potentially its pitch black and a nice recalc / clear of the same would then make it white again.
I recall seeing such a light based issue, but that was longer ago in the 3.0 beta and I’m unsure on what caused it actually as the terrain had some funny issues in general back then which were all resolved
Thanks for the tips dreamora. No lightmaps yet, but I did try to add low quality a while back but got a bunch errors. I cleared them and I can’t see any lightmap folder for the scene. I tried removing all lights but one. I tried removing all lights as well, in which case I could still see the error with only ambient.
There is some improvement though. When I build with just use that one scene it works! I tried creating a new scene with the same terrain, but then I still get the error. Since it’s the same texture closeup it shouldn’t be a problem with the texture, unless it’s a mimap issue or something, but I tried reimport the texture and normalmap. Really not sure where to look next. :S