Lighting glitch


So im making a horror game and i have a hotel hallway, in the video you can see that when i run in one direction the lighting is decent (there are still some issues with the doors on the right side) but when i run the opposite direction then the light doesnt want to render

I have also tried to mess with the flashlight and my lighting settings but nothing works.

2 Likes

Looks like there’s something casting a shadow. You can confirm this by setting the .Shadows property of the SpotLight to false.

But, it’s weird that it only happens in one direction. You should disable the shadows for your flashlight with the .CastShadows property on all the parts of it, then your character, and potentially any other parts that are attached close to it through stuff like welds or scripts, and then try to narrow down what could be casting it.

1 Like

i found the issue and its because of the normal maps of the SurfaceAppearance but the problem is that i dont wanna remove the normal maps, also the glitch happen on every part with a normalmap not only the floor

1 Like