Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
So clearing a bake makes the lighting default, but generating a new one makes the screen black/stuck in a loading screen(?) in-game. Has any other map makers come across this issue before? If so, how do I get past this issue?
2. Is the objects (that don't move) set to lightmap static?
3. Do you have generate uvs checked for models in their settings?
Check to make sure you have all 3 of those otherwise baking lights will give you problems.
And am I supposed to lightmap static every single object? What about those that you pick up?
Also, I am unsure how to generate UVs. Most of the objects like the walls and parts of desks and whatnot are all shapes sawned in unity, and I am also unsure how to generate UVs for those as well given that they are not in the assets section. As far as those that are in the assets section (like, the original models), like I said, I have no idea how to even find the UV section on those. I actually looked at pictures for that too but for some reason I am unable to find the option.
You can set objects that do not move to lightmap static (You can just check mark static). If you're using any assets go to the asset in the folders, click on the model, select the inspector tab, and then it's settings should pop up. It should be labeled as "Generate Lightmap UVs."
One more thing, what is the Environment Lighting (Source) set to in the lighting settings?
-alright. I put back in a directional light and I set the lighting to black as any other lighter colour distorts the lighting I already gave the map and makes it look....bad. but hey, I still put in the directional light and I suppose that is good enough.
- and alright, I just set everything to static. And I set the UVs to all of the assets that I have created outside of Unity
- Also, I currently have it set to none, but should I set it to the directional lighting, or something else?
-----
I am going to try testing this out to see if it works right now, so let's see...
---
update on that: So I tried test driving my map and first, that completely black and not-loaded screen pops up. Now what's unique about that screen is that apparently if you click your mouse all over the place it reloads the map for some reason(?????) and once it is reloaded, it loads into, once again, the default lighting.
SO one, how the heck do I get rid of that black screen and two, if I did everything you said (maybe aside from the environment lighting?), it still refuses to load correctly.
Looking at the images again I think the problem is that you don't have a proper lighting. You said that you had set the directional light to black. In order to have baked lights make things look nicer you need to have a light source that illuminates and is set to baked/mixed.
As far as the lighting.. like I said, when I add lighting other than black, things look horrendous. I want a darker room, and for some reason the directional light makes it look disgustingly bright an distorted.
Did you try baking lights again after setting objects to lightmap static with an illuminated light? Objects will not be affected by baked lighting if it's not set to lightmap static, thus they will appear bright.
In order to get baked lights to work properly you just have to have a light source in which its lighting is set to mixed/baked, and gives off light. Then you just need objects that are set to lightmap static and have Generate Lightmap UVs checked if that object has the option.
Can you post your directional light settings and your baked lighting settings?
it only loads after spamming my mouse all over the screen, but when I get home tonight I will check and see if this loading screen looks any different in VR mode.
How do I bake the objects? is that in the generate light section? Should I clear and re-generate that again? Sorry for these questions, I bet they're simple but like I said, I am certainly new to this. Also, as far as the light source which I am imaginging is the directional light, I set it to baked, but in th escreenshot it's realtime as I just set it to baked. but what SHOULD I set it to, mixed or baked? Also, I tried setting the neon lights to baked but for some odd reason when they do that, any light emitted from them goes dark.
anyways, here's some screenshots..
https://www.dropbox.com/s/y4pk1a6hhya7sq4/lightmap1.png?dl=0
This is basically how I want it to look:
https://www.dropbox.com/s/xhilm1jcsbncgtf/lightmap2.png?dl=0
and the settings:
https://www.dropbox.com/s/xeitch2gs0l5qqx/lightmap3.png?dl=0
https://www.dropbox.com/s/s92m053xuwwzmjy/lightmap5.png?dl=0
hopefully these can help
Mixed just means it'll handle both baked and realtime lighting, meaning objects that's not set to lightmap static will cast realtime shadows. With baked alone the light source will cast any realtime shadows.
You could try changing your Environment Lighting to Skybox. I recommend making a simple project to mess around with baked lights to get a better understanding of it.
Here is a tutorial with lighting in Unity, hope it helps.
https://www.youtube.com/watch?v=VnG2gOKV9dw