Jump to content

Lights/shadows acting weird..


Henk

Recommended Posts

Hi, I've posted this on the tmx forums but I'll post it here too to reach more people who might be able to help:

I've been getting really dark shadows in some places somehow, even if i put a lot of lights in, when I build lights, some parts are as dark as a black hole.

The barracks are the worst: http://i.imgur.com/6TqQI4f.jpg

This is before building lights, and just after placing a couple of extra lights to brighten the path between WF and tunnel up: http://i.imgur.com/6lUJEco.jpg

And this is how it looks after building lights: http://i.imgur.com/XJ8S0dJ.jpg

Those rocks do seem to accept the light, but the terrain doesn't.. there's both spotlights and pointlights there.

Another example, pre-built: http://i.imgur.com/Tw52JtA.jpg and then built: http://i.imgur.com/sMBlLfi.jpg (especially the rocks on the left are way too dark.

I've tried a lot of different settings, copied lights from nightmaps where they DID work, but I can't find what's causing this. I'm getting pretty sick of having to build lights for 18 minutes very time just to find out that it didn't work how I wanted to, if anyone can help or has ideas, please help.

Link to comment
Share on other sites

Check the number of light bounces in the world settings, maybe increase that? Default is 3 I think.. You could also try n set a small pointlight at that place and see if it resolves your issues.. does not have to be to bright.

Check if the skybox does not drop a shadow / accept decals.

Do you have a cloud function somewhere?

If you're still in deep shit after that, try n compare the world settings of a night map and your map!

Edit: what is your landscape's lightmapresolution?

Link to comment
Share on other sites

Number of light bounces is 3, I had lots of pointlights (I had about 12 extra in the barracks to try and lighten it and it didn't change a thing), the skybox was set to cast shadows, but when i disabled that it didnt change anything (neither after or before building lights). I've tried Lightmap resolutions of 1, 2 and 6, 6 looked horrible, not much difference between 1 and 2.

Then i copied all the world info settings from field, I already copied the DominantDirectional Light, still the same problem.

And yes I use lightmass.

I have sortof fixed it.. I made a copy of Field, removed everything but the skybox and dominant light, then I copied everything (except skybox and dominant light) from Snow and pasted it in, it looks good now.

But I'm still very curious what caused this (and this solution feels a bit wrong to me lol :P).

One other thing I forgot to note; the shadows change when I zoom out, and they actually look more smooth and less dark, what did I do to cause this? Maybe the problem lies in that..

Link to comment
Share on other sites

I've tried Lightmap resolutions of 1, 2 and 6, 6 looked horrible, not much difference between 1 and 2.

...

One other thing I forgot to note; the shadows change when I zoom out, and they actually look more smooth and less dark, what did I do to cause this? Maybe the problem lies in that..

What?!? I don't know about the default value, but I think it's 64! I use 32 myself.

Maybe that's why the shadows act weird or so?

Anyways, glad it's fixed.

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.

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.

×
×
  • Create New...