#idk why this happend and how to fix it
1 messages ยท Page 1 of 1 (latest)
๐ฆ
Can you take a screenshot of the Light Explorer? Window > Rendering > Light Explorer
yea, can you sort by mode?
this scene is using to much lighting XD
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
this is fixing itself when i start the game 2 times
oh?
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
what do you mean start the game?
in the editor it's bright
playmode first time bright
editor again bright
playmode second time darker?
when i hit play the first time its not fixed but when i hit play the second time its fixed
yeah
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
and when i stop the game its getting bright little by little
are you using hdrp?
no i am using the default
can you send me a screenshot of the Lighting window?
the whole thing- also which editor version is this?
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 ๐
yeah my pc almost committed suicide
my cpu is not that good for baking XD
it baked 2 days

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
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
ah it may be that "recalculate env lighting" thing ๐ค
my gpu is 6gb
nice, gpu lightmapper is like 5 times faster
sample counts, filtering, and lightmap resolution all make the bake take longer
and my cpu almost backed itself with the default cooling XD
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
?
then turn on the realtime lights one by one and see if there's one that bleeds into the scene
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 ๐
can i ask do you know good values for them?
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
yeah take padding down to 2 and the rest of the samples down to 8
and turn off progressive updates
and generate lighting
yes
ok its baking lets see if it will fix this without going back to the same good lighting but lagging to much XD
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?
yeah?
please do, it bakes very slowly, especially with a large scene like yours (I think?)
it's processing the scene before baking
if you click the bar you'll see a bit more info (not much)
so do i force stop it and try again
no, you should be fine, it restarted
you also have 2 light probes? is there terrain in your scene?
with like exactly 2 trees?
are all the realtime lights off?
nope
and inside the box
its like party in here
yep that's the individual samples
the other rooms doesn't have this problem
this almost certainly has a realtime light causing all that brightness then
does this room have small colorful emissive objects?
and now when i play the game it fixed it self when i move my camera head or my player object
yeah its bright more than heaven
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?
I think so
k i will try with obs
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
yeah sure
if you like i will post it in mp4 if the mkv format want to download it not watch it from discord
here
idk what is happening bro
XD
also don't worry about the warnings they are from old script of mine that i deleted
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 ๐
Do i turn it off and try again?
the readjustment is just because of a setting
so i will turn off the realtime gi and try again to bake it
also the box that you are seeing is shadow caster
from here
yeah makes sense
so here is the settings
and here is the result
๐
thank god i have a backup scene
with the old settings
so the problem its fixed with the bright room but now some texture are to bright
and again only in this room
and the first garage door
the second garage door its like it is getting affected xd
its like this only in the editor but in the game its fixet intantly when i click play
hey done with my meeting ๐
huh why is this so different
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
i am using light probes
if you increase the sample counts and the resolution back up and turn on filtering most of all this noise will go away
in this room
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
ok i will try different
do i try frame debugger
i have delay on the lighting