#idk why this happend and how to fix it

1 messages ยท Page 1 of 1 (latest)

gritty cobalt
#

Let's make a thread, this may take a bit ๐Ÿ™‚

rare trench
#

๐Ÿ˜ฆ

gritty cobalt
#

Can you take a screenshot of the Light Explorer? Window > Rendering > Light Explorer

rare trench
#

this?

gritty cobalt
#

yea, can you sort by mode?

rare trench
gritty cobalt
#

okay there's way too many ๐Ÿ˜†

#

to tell what's going on

rare trench
#

this scene is using to much lighting XD

gritty cobalt
#

I think what's happening is that the ceiling or walls don't have backfaces so realtime or mixed lights from the outside creep into the indoor room

rare trench
#

this is fixing itself when i start the game 2 times

gritty cobalt
#

oh?

rare trench
#

the first its like i met jesus but the second time that i start the game it fixes itself but i cant turn it dark

gritty cobalt
#

what do you mean start the game?

rare trench
#

and when i go into the editor its the same again

#

playing it from the engine

gritty cobalt
#

in the editor it's bright
playmode first time bright
editor again bright
playmode second time darker?

rare trench
#

when i hit play the first time its not fixed but when i hit play the second time its fixed

rare trench
#

but not darked

#

just not that bright

#

the second time its getting little by little not that bright here when its fixed

#

but it happend everytime when i play the game in the editor

gritty cobalt
#

oh that looks nice

#

no clue what that happens though

rare trench
#

and when i stop the game its getting bright little by little

gritty cobalt
#

are you using hdrp?

rare trench
#

no i am using the default

gritty cobalt
#

can you send me a screenshot of the Lighting window?

#

the whole thing- also which editor version is this?

rare trench
#

2022.3.4f1

#

all of this right?

gritty cobalt
#

yes, perfect!

#

what might be happening... is that realtime global illumination is for some reason still baking as you go into and out of playmode

#

this is an impressive number of lightmaps ๐Ÿ˜‚

rare trench
#

yeah my pc almost committed suicide

#

my cpu is not that good for baking XD

#

it baked 2 days

gritty cobalt
rare trench
#

if there is a talk in the server i could show you exactly what you want

#

๐Ÿ˜ฆ

#

i am not that great with lighting even my friend that is pro in the unity engine said this "Welcome to the lighting world" when i send him this picture XD

gritty cobalt
#

no ๐Ÿ˜ฆ
so you probably don't need both realtime global illumination and baked at the same time unless you have lots of moving lights

#

if you have a decent gpu (4gb or above vram) you can use the gpu lightmapper

rare trench
#

also i forgot

#

to show this

gritty cobalt
#

ah it may be that "recalculate env lighting" thing ๐Ÿค”

gritty cobalt
#

nice, gpu lightmapper is like 5 times faster

rare trench
#

but my cpu is 6 cores only i5-9400f ๐Ÿ˜ฆ

#

also i backed with my cpu

gritty cobalt
#

sample counts, filtering, and lightmap resolution all make the bake take longer

rare trench
#

and my cpu almost backed itself with the default cooling XD

gritty cobalt
#

I would say:

  • switch to gpu lightmapper
  • turn off realtime global illumination if it's not necessary
  • lower the settings I mentioned above

you will get a worse image but you'll get much faster bakes.
turn off all realtime lights and rebake

gritty cobalt
#

then turn on the realtime lights one by one and see if there's one that bleeds into the scene

gritty cobalt
# rare trench ?

for some reason opencl can't find the gpu until you start a gpu bake

#

we're in the process of getting rid of it ๐Ÿ˜„

rare trench
gritty cobalt
#

for samples go for 8, filtering you can keep at None, resolution try 10

#

this is super low btw to debug the super bright lighting

rare trench
#

like this?

gritty cobalt
#

yeah take padding down to 2 and the rest of the samples down to 8

#

and turn off progressive updates

rare trench
#

sheesh

#

like this and try to bake again?

gritty cobalt
#

yes and without progressive updates

#

it should bake fast

rare trench
#

and generate lighting

gritty cobalt
#

yes

rare trench
#

ok its baking lets see if it will fix this without going back to the same good lighting but lagging to much XD

gritty cobalt
#

these settings will just allow you to work quicker at figuring out what the problem was, you'll have to bump the settings up once you've solved it

#

right now it's gonna look real bad

#

did you turn off realtime global illumination above btw?

rare trench
gritty cobalt
#

this stuff above it

#

that uses the CPU, can't use the GPU

rare trench
#

nope

gritty cobalt
#

please do, it bakes very slowly, especially with a large scene like yours (I think?)

rare trench
#

maybe its finishing

gritty cobalt
#

it's processing the scene before baking

#

if you click the bar you'll see a bit more info (not much)

rare trench
#

so do i force stop it and try again

gritty cobalt
#

no, you should be fine, it restarted

gritty cobalt
# rare trench

you also have 2 light probes? is there terrain in your scene?

#

with like exactly 2 trees?

rare trench
gritty cobalt
#

are all the realtime lights off?

rare trench
#

and inside the box

#

its like party in here

gritty cobalt
#

yep that's the individual samples

rare trench
#

the other rooms doesn't have this problem

gritty cobalt
# rare trench

this almost certainly has a realtime light causing all that brightness then

gritty cobalt
rare trench
#

and now when i play the game it fixed it self when i move my camera head or my player object

gritty cobalt
#

but in the editor it's super blown out?

#

maybe it's some post-processing ??

rare trench
#

also for some reason i have reflection now that its little glitchy when i open the right door its staying the reflection without moving with the door

#

idk if you can see it

#

can i post video clip in here?

gritty cobalt
#

I think so

rare trench
#

k i will try with obs

rare trench
# gritty cobalt I think so

can i post links so i can upload it to youtube so you can see what i mean by brighting little by little and lowering the brigthness little by little

gritty cobalt
#

yeah sure

rare trench
#

ok i can post it in here

rare trench
#

here

rare trench
#

XD

#

also don't worry about the warnings they are from old script of mine that i deleted

gritty cobalt
#

ok I know what's up with this I have a meeting rn I'll get back to you

#

you still didn't turn off realtime gi btw ๐Ÿ˜‚

rare trench
gritty cobalt
#

the readjustment is just because of a setting

rare trench
#

so i will turn off the realtime gi and try again to bake it

rare trench
rare trench
gritty cobalt
#

yeah makes sense

rare trench
#

so here is the settings

#

and here is the result

#

๐Ÿ˜„

#

thank god i have a backup scene

#

with the old settings

rare trench
#

and again only in this room

rare trench
#

the second garage door its like it is getting affected xd

rare trench
#

@gritty cobalt this is when i hit play in the game

#

and this is from the editor

rare trench
gritty cobalt
#

hey done with my meeting ๐Ÿ™‚

gritty cobalt
#

okay some thoughts-- some objects don't seem to be static/lightmapped since they are moving, like the doors. you can you light probes for those

gritty cobalt
#

if you increase the sample counts and the resolution back up and turn on filtering most of all this noise will go away

rare trench
#

in this room

gritty cobalt
#

the objects need to receive from probes

#

note that light probes and reflection probes are different right

#

make sure that all the objects that seem to be misbehaving are set up correctly, you've clicked "generate lightmap UVs" in their model importer settings and everything like that

#

there's too many things to look at and debug in the scene you show, I'd go one by one. and maybe 8 samples was too few but your scene is large, you can choose higher settings if you want less noise but are willing to wait a bit longer

#

unfortunately baked lighting and lightmapping is not very beginner friendly, I hope the system was more intuitive / beginner friendly. there are some resources in the pinned messages if you want to really learn

#

I'll be back tomorrow, need to go now ๐Ÿ™‚ let me know if you make progress or hit some other snag, just know it will take a while for you to set everything up and you should do it piece by piece and methodically

rare trench
#

i have delay on the lighting