Page 1 of 1

Lightmaps okay, but ingame destroyed...

Posted: 28 Oct 2016, 06:35
by Florenzius
Hey there,

sadly i didn't find a way to fix my problem, so maybe at the snow release some maps will look like they have destroyed lightmaps...

Skyslide helped me to create right lightmaps in blender and if I look at them, there are no problems... I unwrapped it right at the right edges, but ingame it looks completely different...

I already cleared cache, calculated and calculated lightmaps, but it's not better...

Here is an ingame-result, which shouldn't look like this..

http://i.imgur.com/BPYC1dS.png

I have other, worse results, where the objects are black at some parts too.
It's a finish object and looks like this in blender: http://i.imgur.com/VGSFCzC.png

As you can see, the edges are marked red and the lightmap in blender is okay too: http://i.imgur.com/atEQazD.png

nothing is overlapping and the faces are in the right shape.

So i hope i can find help until the release :? :cry:

Thanks in advance,
Flo

Re: Lightmaps okay, but ingame destroyed...

Posted: 28 Oct 2016, 12:29
by maxi031
Try to put more space between uv islands, on picture looks like your island edges are overlapping.

Re: Lightmaps okay, but ingame destroyed...

Posted: 28 Oct 2016, 12:35
by Florenzius
They are not overlapping, but near, that can be possible..

I'll check ^^

Re: Lightmaps okay, but ingame destroyed...

Posted: 31 Oct 2016, 16:53
by BigBang1112
I expirienced this when creating my Minigames title pack.
Didn't get to fixing this bug, but I got some idea to fix:
You should check that verticies of these objects are placed pixel perfect - even 0.0001 difference can do this.

Re: Lightmaps okay, but ingame destroyed...

Posted: 31 Oct 2016, 18:42
by Tipiizor
Watch your object in blender in solid mode to see if you have this issue.
You can try to go in object data / Normals, tick auto smooth and chose the right angle (usually around 30-40)

Re: Lightmaps okay, but ingame destroyed...

Posted: 02 Nov 2016, 10:19
by Fix
UV islands are indeed too close.

Re: Lightmaps okay, but ingame destroyed...

Posted: 02 Nov 2016, 13:48
by Florenzius
So resizing and get more space would fix the problem? Sounds easies than thought ^^

Re: Lightmaps okay, but ingame destroyed...

Posted: 03 Nov 2016, 17:02
by Fix
the bigger the map, the smaller the lightmap available per block. so the problem can appear again in that case.