#I don't have any faces inside, it's the

1 messages Β· Page 1 of 1 (latest)

chrome haven
#

Can you show the Lightmap UV of the stairs inside unity?

Your geo looks fine, i cant see anything there.

dusk pivot
#

I already tried increasing padding in baking settings from 2 to 3 and that didn't help, and I assume going much higher would result in worse quality.

#

And on top of that, it would probably take me 1-2h just to test that change.

chrome haven
dusk pivot
#

First image is the weird looking one and second is the fine looking one.

#

I do find it quite odd that there is no noticeable brightness diff here tho :/

#

Directionality is a bit odd, although I don't know what to look for with that, and the other side looks about the same, so I am guessing that's fine?

#

UV overlap shows 3 faces overlapping, but that doesn't explain the rest of them looking odd, no?

#

Lightmap Overlap doesn't display anything from what I can tell, so I am guessing that's just fine?

chrome haven
dusk pivot
#

I see.
How come it doesn't happen on all the other sides tho?

chrome haven
#

Maybe they are to big and don’t fit onto one lightmap.

#

But normally lightmaps should not get split there

#

Where do you create the light so UVs

dusk pivot
#

I just let unity generate them, that's what I was previously told to do.

#

Using the ones I use for the model itself probably isn't a good idea as I overlap all 4 stairs to increase the texture density(they are just instances from an array mod in blender).

chrome haven
#

okay, normally that works very good!

#

I saw that you used a lightmap resolution of 64 here

#

thats ok, because you have 40 there

#

Is your stairs also >1 scale?

dusk pivot
# chrome haven Is your stairs also >1 scale?

I applied the scale before exporting from blender and reset transform in unity if that's what you are asking.
Here are also the rest of my import settings in case something's not right there.

chrome haven
#

this scale

#

For explanation. You will get UV overlaps, if your bake resolution or you scale differs from your "generate lightmap" settings there.
You set it to 40 and you have 64, which is fine!

dusk pivot
chrome haven
#

im not sure why he devides your stairs into different UV shells there, this seems weird

#

but its your problem that they are devided

#

if you dont get unity to make them correct, you could do your own lightmap UV and save it in UV Channel 01

dusk pivot
#

Is it possible that the mesh is too big for the lightmap res to fit?
This is a fairly big mesh and I can't use 4k for the lightmap because I run out of memory when baking :/

dusk pivot
chrome haven
#

Yes it is.
Your lightmap resolution is also to big.
I think if you bake, there are console warnings if shells are to big to fit.

#

try resolution of 40

#

(normally 20 should be enough too πŸ˜„ )

dusk pivot
# chrome haven (normally 20 should be enough too πŸ˜„ )

I honestly have no clue what I'm doing when it comes to these settings tbh :/
I just know I was trying to fix some light leaks, as well as 2h bake times for this simple scene and these just worked.
Feel free to let me know if some of my other settings are also bad.

chrome haven
#

πŸ˜„ okay, let me have dinner and then im back πŸ˜„

dusk pivot
#

I really appreciate all the help and time so far, I'll get back to you as soon as I get bake results.
Not sure if I'll get to do it today because a friend is coming over soon.

#

Have a nice meal!

chrome haven
#

(you can bake it with a resolution of 5 or so for test reasons)!

#

pls try this

#

yours is WAY to high

dusk pivot
#

Testing those now.
Just a few questions.
I am making this game for mid-high pcs, might optimize for low end later, is lightmap size of 1024 really enough?
And I noticed you set your compression to normal quality.
Iirc, I heard that's a bad practice as it can introduce artifacts etc., am I mistaken?

chrome haven
#

Best practice is:
Start in a medium quality setting, and if you like it, start to lower it AS LOW as you dont see bad results.

#

Lightmaps can become huge, and you dont want a game that has 10gb of lightmaps

#

This is our game. It has a Lightmap of 1024x1024 here, which i compressed even more to 1,3 MB

#

you can adjust the resolution for every model seperately

#

thats why the forest ground is quite low res

#

well this lightmap here is a bad example πŸ˜„ wait a sec

dusk pivot
dusk pivot
chrome haven
#

here is a better example. The game board is way higher resolution as the wall or the ground, becasue the players dont look at the wall/ground, and it has a texture on it, where you dont see lightmap artifacts.
Its far away from a perfect bake, but you dont see that its not perfect, becasue its texture blends well.

dusk pivot
#

Also, baking just finished and now it's visible on all sides :/

dusk pivot
chrome haven
#

If you like, send me the model per private message and ill have a look and bake it with your settings

#
  • Material and Textures in best case πŸ˜„