[Help] Black Patchs on terrain
-
TheDarkOverlord
- Posts: 134
- Joined: 2006-05-07 13:19
-
TheDarkOverlord
- Posts: 134
- Joined: 2006-05-07 13:19
I can't figure out what is wrong. I rendered lightmaps on low with the following settings:
Editor:

In Game:

Editor:

In Game:

Editor:

In Game:

Editor:

In Game:

The textures look fine from far away, but when you get closer or zoom in the black patchs appear.
Far Away:

Zoomed In:

It looks fine in the editor but in game, the terrain looks ugly and has black patchs all over (Also, I set the object texture to woodland, but in game it is desert). Here are some screeshots of the problem:rem ******** Lightmap Generation Settings ********
if v_arg1 == BF2Editor
LightMapGeneration.init
LightMapGeneration.GILightsBaseDir 0/0.33/-0.66
LightMapGeneration.GILightsIntensity 0.33
LightMapGeneration.GILightsShadowIntensity 1
LightMapGeneration.GILightsFov 45
LightMapGeneration.UseGITopLight 1
LightMapGeneration.GITopLightIntensity 0.1
LightMapGeneration.GILightsViewDistance 10
LightMapGeneration.skyWhite 0.3
LightMapGeneration.numberOfGILights 8
LightMapGeneration.sunLightShadowIntensity 1
LightMapGeneration.sunLightFov 2
LightMapGeneration.sunLightIntensity 1
endIf
Editor:

In Game:

Editor:

In Game:

Editor:

In Game:

Editor:

In Game:

The textures look fine from far away, but when you get closer or zoom in the black patchs appear.
Far Away:

Zoomed In:


-
Griffon2-6
- Posts: 2487
- Joined: 2006-05-26 04:21
-
TheDarkOverlord
- Posts: 134
- Joined: 2006-05-07 13:19
I think this might be it, I remeber the editor crashing during saving at one point (can't remeber when though). I can change the detail textures, but when I try to change the colour textures the colour texture on places where I have already painted does not change. Do I have to repaint the whole map to get it to work?Griffon2-6 wrote:Oh.... I know the problem now! Did you editor happen to crash while saving? Go to your layers folder for texturing in the editor, then click on each of your layers. Make sure your detail textures and color textures are still assigned, because this happened to me, but fortunately I figured it out.

-
Griffon2-6
- Posts: 2487
- Joined: 2006-05-26 04:21
-
TheDarkOverlord
- Posts: 134
- Joined: 2006-05-07 13:19
-
Griffon2-6
- Posts: 2487
- Joined: 2006-05-26 04:21
-
TheDarkOverlord
- Posts: 134
- Joined: 2006-05-07 13:19
-
.:XDR:.FRIJJ
- Retired PR Developer
- Posts: 212
- Joined: 2006-05-17 13:47
sorry just double checking your not doing a 1024x4 map by any chance?
If not try going into your levels folder/mapname/editor/lightmaps, colormaps, detailmaps, lowdetailmaps and make sure all the lightmaps, colormaps, detail maps, low detail maps have been saved into your levels folder properly. It might be missing a couple of files hence why your getting black in game and not in editor.
When working in editor it uses the files from levels/yourmap/editor
When working in game it uses the files from levels/yourmap
If not try going into your levels folder/mapname/editor/lightmaps, colormaps, detailmaps, lowdetailmaps and make sure all the lightmaps, colormaps, detail maps, low detail maps have been saved into your levels folder properly. It might be missing a couple of files hence why your getting black in game and not in editor.
When working in editor it uses the files from levels/yourmap/editor
When working in game it uses the files from levels/yourmap
-
TheDarkOverlord
- Posts: 134
- Joined: 2006-05-07 13:19
Thanks! That fixed the terrain.'[R-CON wrote:. :X DR:.FRIJJ']sorry just double checking your not doing a 1024x4 map by any chance?
If not try going into your levels folder/mapname/editor/lightmaps, colormaps, detailmaps, lowdetailmaps and make sure all the lightmaps, colormaps, detail maps, low detail maps have been saved into your levels folder properly. It might be missing a couple of files hence why your getting black in game and not in editor.
When working in editor it uses the files from levels/yourmap/editor
When working in game it uses the files from levels/yourmap
Now my undergrowth is all weird though.

If I delete the undergrowth layer and recreate it, will it keep the painting? Or is their an easier way to fix this?

-
Griffon2-6
- Posts: 2487
- Joined: 2006-05-26 04:21
-
.:XDR:.FRIJJ
- Retired PR Developer
- Posts: 212
- Joined: 2006-05-17 13:47
Look at this thread here, the last post tells you all you need to do 
http://bfeditor.org/forums/index.php?showtopic=5884&hl=
http://bfeditor.org/forums/index.php?showtopic=5884&hl=
-
TheDarkOverlord
- Posts: 134
- Joined: 2006-05-07 13:19
That fixed it.'[R-CON wrote:. :X DR:.FRIJJ']Look at this thread here, the last post tells you all you need to do
http://bfeditor.org/forums/index.php?showtopic=5884&hl=
Thanks!

-
.:XDR:.FRIJJ
- Retired PR Developer
- Posts: 212
- Joined: 2006-05-17 13:47
