Lights not working when shadows are active

Making a landscape with stylized graphics on eevee I came across this problem, mi lights literally don’t work on the scene except on the rocks and a bush when the shadows option is active, when it is unactive it works on the entire scene. It fixed itself for some time but yesterday I turned off the pc and today it was messed up again. I´ll add some pics

Welcome!

  • Does the scene have any object that’s extremely far away? This can affect Eevee’s shadows.

  • If you change the material on dark objects, do they become bright? Like, give them a default, fresh material just for testing.

  • Is there anything in the compositor that could affect the look of a material?

Hello! thanks for the message, I searched for any objects I could have missed but there’s none, I also applied scale to the lights and objects since I scaled them quite a bit.

I just tried to add new materials to the dark objects but it doesn’t work, unless I use an emission bsdf, just then it does lighten up.

An could you explain to me what is the compositor or how do I see it? I’m new to blender tbh, thank you so much!

If you don’t know the compositor, then you surely didn’t use it, unless you did your project in someone else’s file.

The compositor is used to alter images after the rendering is done. You can access it just like any window in Blender, by dividing the working space and changing one of the windows to it. I thought you might have used it to get the cell shaded look in the screenshot.

Would you be willing to upload the scene so I could look at it? If you don’t want your project to spread on the Internet, you could delete most object and upload the lightest scene that causes this problem.

Yeah probably didn’t use it.
Yeah no problem, It’s a personal project and I’m kinda getting unmotivated because of this issue, also idk if I’ve told this already but it fixed itself for some time, the grass shader was not casting shadows so i added a normal node to a difusse so it could, I think somewhere there might have caused it to go crazy.

A problem here it doesn’t let me attach stuff because I’m a new user, Is there a way i can send it or something like that?

1 Like

You can upload it to an external file hosting site and post the link here. That should work even for a new user.

Let’s see if this works

I can’t quite find the source of the problem, but I notice some things.

  • The scene works fine if Eevee’s raytracting is on. When it’s turned off, all kinds of glitches happen.

  • The problem disappears if I append the whole scene in a fresh .blend.

To me, this looks like an actual bug related to your .blend file. Maybe the file itself is corrupted, or some obscure setting is causing this failure.

I assume you have the latest version? thanks for checking it out. Also, can you explain to me how to append the whole scene in a fresh .blend, i don’t understand that part. Thanks for your help!

1 Like
  • First, you create a fresh .blend.

  • In that new .blend, go to file —> append (at the top of the screen).

  • Navigate to your original .blend that has the problem and enter it.

  • Once you have entered the .blend, you will see you have many options for what kind of data you want to append (append means import a full copy, as opposed to link which is more like an instance from an other file).

  • Choose the “scene” file. This will allow you to import everything at once.

  • After you appended the scene, it will appear in the new .blend’s scene list. Blender is able to have more than one scene inside a a single .blend file. You can go into the list of scenes and switch to the one you just imported.

  • If you want, you can delete the original scene, leaving only the new one you imported. Now save and you have your new .blend where everything has been transferred.

Thank you so much, I’ll give it a try, also do you recommend udating to the latest version before i finish this project?

1 Like

Only if there is a specific new feature you need. If everything is working, it can be a good idea to stick to a single version until the project is done rather than risk some key feature changing mid-project.

Hmmm several objects seems to have no material at all ?? For example the piano… cube.035 (the fallen pillar), Cube.030 ( the wall with the hole) ???

Also the cats body, body.001, head, head.001 … any reason why they are no linked copies ??

yeah haven’t added material to those yet because of the problem, however adding materials don’t fix it

To analyze a problem it might be better when others do not have to bother about that and so have to spent time for this to try for themselfs and spent their time (if they are willing to do so) on the real problem when downloading a 55MB file… :wink:
But now it’s gettting late…

Oh okay, Thanks a lot, if you have more recomendations plese feel free to let me know :hugs:

Hi, I opened your file in blender 4.1 and no problems with the lights here?
But unhiding exposed this object:

Yeah man honestly don’t know at this point, recently updated my blender to 4.1 since not even appending the scene in another .blend file would work, now that I’ve opened it in 4.1 is the same for me, hasn’t fixed the problem. That object was a test of a shape i forgot to delete haha, thanks for trying.

I’m afraid the problem has something to do with my pc or my drivers :melting_face:

1 Like

Heyy sorry for asking again, I noticed something, When any object has BSDF node the lights won’t work with shadows on, or most likely the objects won’t illuminate, Only objects with emssion nodes(the rocks) and without any bsdf nodes like the bush are affected by the lights. I don’t know if this is something solvable now.

Hmm… as soon as i started to add this simple purple material to most objects with no material… (particles disabled)…

I see shadows…:person_shrugging:

:thinking: Maybe i simple didn’t understand what you mean by shadow option ??