#Problems with lightning (or maybe shaders?)

1 messages ยท Page 1 of 1 (latest)

sleek whale
#

Hi ๐Ÿ‘‹๐Ÿป

I'm having a weird problem with the lightning, although I'm not sure if the source of it is Unity or Needle.

I have an office environment in Unity that counts with two elevators. In the editor, they look like the first image. But when I make a build, the result is totally different, as seen in the second image. There are some areas that are black as hell, like elevator's door.

I'm using a material with the next seen in the third image. I thought that the problem might be that it was Autodesk interactive, so I changed to UnityGLF/PBRGraph (fourth image), but the problem persists.

Does anybody have any idea?

Unity version: 2022.3.1f1
Needle version: 3.33.0

*Images in the next message, sorry ๐Ÿ˜… *

orchid helmBOT
# sleek whale Hi ๐Ÿ‘‹๐Ÿป I'm having a weird problem with the lightning, although I'm not sure i...

Thanks for reaching out @sleek whale

Please read through the following and share the information requested. This will help us to better assist you.

Description

Describe the issue that you're seeing. Please be as detailed as possible e.g. is this issue happening in Unity or Blender, which Needle Engine version are you using, do you see any errors in the Editor or Browser console, etc.

Information:

  • If you're using Unity click the menu item Needle Engine/Report a Bug/Copy Project Info to Clipboard. Please share the results below.
  • Please provide code snippets using Discord Code Blocks
  • Have you contacted Needle through another channel or just through Discord?

Thanks for submitting!

๐Ÿ’ก Did you know that we now also have a forum with AI support? Join now with your discord account!

sleek whale
#

Problems with lightning (or maybe shaders?)

inland bloom
#

Hey ๐Ÿ‘‹ please do use the UnityGLF/PBRGraph shader.

can you try decreasing the metallic to 0.5?
It might be pitch black like this if you do not have any environment map (reflections)

sleek whale
#

I'll try it. I'm currently baking lights and my PC takes a long time in doing it, so I'll come back to you as it finishes ๐Ÿ™‡๐Ÿป

inland bloom
#

Other possible cause would be incorrect/overlapping UVs on that part of the model. That could cause the lightmaps to turn it pitch black

crude whale
#

Are you using reflection probes to light the objects in Unity? If yes: what settings do you have on the reflection probe component? We currently only support the "Custom" option (with an assigned cubemap)

sleek whale
#

I'm using Baked as the type in my reflection probes

#

I'm about to test it and see if it is fixed

inland bloom
#

You can bake it like this, and then switch to custom and select the cubemap that was generated next to your lightmap files ๐Ÿ‘