#not really sure whats most useful here

1 messages ยท Page 1 of 1 (latest)

bold wadi
#

Whats the last view?

#

The first is lightmap view right?

#

so yo usee, the lightmap is fine

vocal bison
#

last view is light overlap

#

which just looks like the original view

#

actually

bold wadi
#

Okay, so lightmap is fine.
I guess its something with your material (maybe)

vocal bison
#

i dont think its a material issue

#

i use the same material in many other places without issue

#

also, the artifact appears on other materials too

#

its almost certainly some kind of issue with the baked lighting

bold wadi
#

Do you have a selfmade shader?

vocal bison
#

no its using the built in lit hdrp shader

#

though the ground in that room is using a custom shader

#

theres stuff going on with the directionality in like the opposite pattern in which the artifact appears

#

i think

#

lemme try removing the stuff with custom shaders and see what happens

#

removing the objects with custom shaders didnt fix the issue

bold wadi
#

thats really interesting ๐Ÿ˜„

#

Its way to detailed to be a lightmapping issue.
Whats happening if you delete the Normals of the Material and Bake again?

vocal bison
#

yeah it seems like its gotta be some issue with it picking up light from a different direction somehow?

#

removing the normal map fixes it

bold wadi
#

Do you use a white realtime light somewhere?

vocal bison
#

no i dont

#

the directional light is the only thing that could possibly be it and removing it does nothing

bold wadi
#

Have you added a reflection probe to this part of the scene?

vocal bison
#

yes

#

wait

#

wait thats probably it now that i think about it

bold wadi
#

It may reflects the skybox down there

#

without a correct Refletionprobe

vocal bison
#

doesnt look like its reflecting the skybox though

#

and the pattern doesnt move depending on camera position like youd expect with a reflection issue

bold wadi
#

well thats a hard one, but possibly just an easy solution we have to find ๐Ÿ˜„

vocal bison
#

yeah this is quite possibly the strangest bug ive encountered with unity yet lmfao

#

i suppose i could try changing unity versions

bold wadi
#

Na, i dont think that helps

vocal bison
#

im just thinking maybe its a bug that got fixed in a more stable version or something

bold wadi
#

im not a hdrp pro, so i dont know what else it could be.
If you delete the normal map and its gone, im quite sure its something wrong with them.

#

But it also looks like there is a realtime light coming from somewhere ๐Ÿ˜„

vocal bison
#

i dont think the issue is with the normal map but rather somehow the lightmapper is getting the direction of the light fucked up somehow

#

thats the only thing that makes sense to me

bold wadi
#

Can you show the lightmapper settings?

vocal bison
#

huh why does it say no baking devices found lmfao

#

thats odd

bold wadi
#

you have to bake once before it knows it

vocal bison
#

oh makes sense

#

yeah looks like it figured it out so thats not the issue then

bold wadi
#

If you click the small arrow beside the bake button and clear baked data, how does your walls look?

vocal bison
#

the error is gone

#

ignore how disorganized my project is lol

bold wadi
#

And you have no lightmap overlaps?

#

when baking again?

vocal bison
#

currently baking it again rn gimmie a sec

#

baking it agian the error is back again

bold wadi
#

you have any red spots when activating the overlap feature?

#

But.. it cant be overlaps if it looks fine when you delete the normals..

#

wtf ๐Ÿ˜„

vocal bison
#

yeah nothing with the overlaps

bold wadi
#

Okay.. lets hope that @steep magnet has an idea. notlikethis
Im out of ideas ^^

steep magnet
#

@vocal bison Show your normal map and its import settings, the normal map should be of type normal map and have valid normal information in it
I would also try baking with directional mode: non-directional

vocal bison
#

its definitely a directional lighting issue becuase the issue isnt present when i bake without direcitonal lighting on

bold wadi
vocal bison
#

i doubt its an an issue with the normal map because it works without issue on other surfaces but okay

bold wadi
#

ah, okay

#

i guess you are right

#

looks fine

vocal bison
#

it says its caused by NaN artifacts but this forum post is from 2019 and says the bug sohuld already be fixed

#

im running a 2023 verison...

#

i guess i could try udating unity

#

but the image they posted looks very similar to whats going on for me

#

for comparison

#

im going to try updating unity versions

steep magnet
#

This thread suggests baking non-directional lightmaps, as I did earlier

vocal bison
#

changing unity versions fixes the issue

vocal bison
#

if my understanding of how it works is correct

#

i think it was just a bug with the version of unity i was using