Jump to content

[LE3] lights not working


Rick
 Share

Recommended Posts

I'm putting lights into this scene and I see the difference in the perspective view, but when I calc lights it says it finished in like 22 ms, and when I run the game the lights don't see to be there. It's really dark. Is there a known bug or am I missing something? This seems pretty basic, and it was working. At one point I added 2 directional lights so not sure if that screwed it up.

 

I make a new map and it just doesn't seem to matter. It's like the lights are broken or something.

Link to comment
Share on other sites

The default shaders come in 2 flavours, static and dynamic (which you can set in the material)

Static means lightmapped, but only csg geometry can use these for lightmap (light and shadow)

Custom geometry imported should ue dynamic since the lightmapper only cast light/shadow on csg geometry.

But you could ofcource use an external lightmapper and a second UV channel.

  • Upvote 1

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

@Rick :

Do you use BPS or models ?

Caus Lightmapping will only work in BSP geometry.

You put 2 directionnal lights, in the normal way of doing levels, one directionnal is enought.

 

What are your texture sizes ? big ? and it is standard sizes (256,512,1024 etc ....) ?

 

 

If it was BSP perhaps you had some problem like this one ?

http://www.leadwerks.com/werkspace/topic/6220-lightmap-fails/

 

I also had some fast lightmap compute time once with BSP, i just remade another project.

Stop toying and make games

Link to comment
Share on other sites

They are normal models. So dynamic materials on these will treat the lights dynamically (like LE2?) instead of using the lightmap? I swear I selected dynamic when I made the materials. I'll have to try again I guess. I'll keep you updated.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...