Unity 5 - lighting, lightmapping and bugs

Hi there. Sorry for my bad english. I makes some interiors in Unity 5. There is no tutorials about this theme, i try to adjust all random) This is the best what i do now, you can see my lightmap settings on the first screenshot. I love lightmapping and using it everywhere.


I’m not very happy with the result. Basically there are some problems:

The interior is very dark, it is necessary to use Tonemapping (Unity Pro only). Because of this, many dark areas do not look nice:


I found that solves this problem is turning on HDR on the camera:

But… Unity 5 have very old bug. If we using Reflection probes + Tonemapping + HDR - screen is flickering with black… I sent Bugreport. This is a very old problem, I would like that Unity Team corrected it soon. It interferes with work in the Scene View, constantly have to disable components.

Other Lighting I have done only with the help of Sun (Directional light with 0.5 intensity) and Sky (Ambient Source is Default Skybox) and some point lights in a bathroom.

Another my problem is many many lightmapping bugs:

I very much hope that this will also be fixed… Its not a problem with my models, all meshes is clean and have good quality.

Maybe these nuances will be for someone useful. And I will be very grateful to the advice of experienced people how to improve the interior lighting :slight_smile:

Moved into Unity 5 forum as it might be more specific to your cause.

@homerender Go to Window → Lighting → under Baked GI → uncheck Compressed. If you want more quality Increase baked resolution.

This is bad for RAM and not help with bugs :frowning:

What platform are you targeting? Cuz I do what you do. I do it for Mobile and PC. For mobile I bake lightmaps and for PC I use mixed mode.

Does Arealights work for you? For me they aren’t working! :frowning:

PC

There is bug, Area lights not working if scale less 0.1

@homerender Can I know what 3D App you use to make your models? I use sketchup. I’m planning to use 3DsMax. What would you suggest? :slight_smile:

If you are new in 3D modeling, I recommend learning Blender, since it’s free.

@homerender Thank you. I’m not new to 3D modelling ;). I just started using sketchup. What do you use? Can you tell me what Post Process do u use after lightmapping? I use Tone mapping. And also what lights u use in your scene? Spot or Area or Both Checked your Website and tried Web Demo of a Room. It is awesome. Now I’m trying to make a scene like you.

This is done in Unity 5. The previous in Unity 4.6

I have the same problem. I have summited a bug.

You say turning on HDR solves problem. I tried it but no way, still same. However, my materials do not use albedo texture. They are just materials with albedo color. Can you please remove your albedo textures and look if problems are still there?

I use a separate light sources, depending on the situation.

If using HDR + Tonemappng (Adaptive Reinhard) + Reflection Probes.

Hi @homerender ! Nice interiors!
What is the case number for the bug on Reflection probes + Tonemapping + HDR - screen is flickering?

Hello! 663915

The amount of energy output by an Area light is depending on the Width/Height of the plane defining the light. If you have a tiny area with a low intensity, the output will be scaled below 1.f/255.f and it will not show up. Try setting a larger area or increase the intensity.
I hope I can find the time to look into this soon and make the lights behave better.

Reproduced the issue and assigned to devs for fixing. Thanks for a great bug!

I didn’t get those artefacts with b20, are you still seeing them?

Yay! :slight_smile:

Yes, i use beta 20. I found cause of the problem - this is a curtains. If i remove it all baked good. However, I do not understand why they have caused a problem. The model has no bugs.

@SpiriTx i found new problem. I make this awesome sofa))

Unwrap is good. That is why i not check “generate lightmap UV’s”. But…

GI Charting looks stretched… Why? What does it depend?

If I put a tick “Generate lightmap UV’s” GI Charting it looks even worse.

1 Like