Jump to content
Official BF Editor Forums
Sign in to follow this  
MattJoey2142

Lightmapping Makes Buildings Black

Recommended Posts

I just finished making a map in Sandbox now I lightmapped it and now the buildings a black.

I did it all in order:

1: Lightmap

2: Envmap

3: Ground Hemi

All I did with the sky is I imported the one from Wake Island. And I selected the Sun Flare Direction as "Set sun flare Direction to camera".

Here's a picture of what the error is: bf2editor20100811173452.jpg

Hopefully you guys can help me out, thanks again.

Matt

Share this post


Link to post
Share on other sites

what are your lightsettings in the editor?

there is a thread on this site that gives a good starting point...

i will try and find it.

Share this post


Link to post
Share on other sites

first at all you need to download the 700mb dice-lightmapsamples.

if you dont got em, get em from here: >>KLICK<<

you also need a objectlight.con inside of your editor folder (levels/yourmap/editor/)

just copy the terrainlight.con and rename it to objectlight.con

play a bit around with its settings.

Share this post


Link to post
Share on other sites

what are your lightsettings in the editor?

there is a thread on this site that gives a good starting point...

i will try and find it.

The choices that I picked for lightmapping? It is:

Trace Terrain|Trace Objects

Primary|Secondary

Medium

Texture Size: 1024

first at all you need to download the 700mb dice-lightmapsamples.

if you dont got em, get em from here: >>KLICK<<

you also need a objectlight.con inside of your editor folder (levels/yourmap/editor/)

just copy the terrainlight.con and rename it to objectlight.con

play a bit around with its settings.

Did that.

Share this post


Link to post
Share on other sites
The choices that I picked for lightmapping?

In Level Editor there's lightsettings under the tab named after your map. Rightclick the 'Lightsettings' entry to switch to object mode ( and back to terrain mode ). Set Object lights to be similar to the terrain light settings.

MattJoey2142

You're not trying to lightmap objects from BF2142 , are you ? In this case you either need to generate samples with the 'BF2Meshviewer' made by Remdul:

http://www.bfeditor.org/forums/index.php?showtopic=12968

or use 3DSMax to lightmap your objects.

Edited by mschoeldgen[Xww2]

Share this post


Link to post
Share on other sites
Texture Size: 1024

is this possible without samples in that size? iam sure dice didnt released 1024's samples, as they a lod0 sample should something around 7mb then. or is that setting just for the terrain?

did you generate the lightmap-atlas files too after lightmapping?

maybe take a look to your sample outputs (yourmap/lightmaps/objects) in photoshop or some other .dds compatible programm.

also make sure you have a lightmapatlas.tai in that folder.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...