I'm using world lighting in Blender 3.6.2 by following the tutorial Creating 3D Environments For Free And Easily With BlenderKit Addon.

However, the light from this world can pass through solid objects like a cube without being blocked. How can I prevent light from passing through objects?

My image:

Enter image description here



World lighting:

World lighting

  • $\begingroup$ Are you in Rendered display mode? Could you please share your object? $\endgroup$
    – moonboots
    Sep 30 at 10:30
  • $\begingroup$ @moonboots Yes I'm in Rendered display mode. Here is my project: drive.google.com/file/d/1ZGQ_k-kBi1ZKdpcaaD-2Clu2N0ogNedl/… . Please help me to check it. $\endgroup$ Sep 30 at 10:39
  • 1
    $\begingroup$ You are in Eevee render engine, while he's probably in Cycles, in Eevee the HDRI image doesn't seem to project any shadow, therefore your problem here $\endgroup$
    – moonboots
    Sep 30 at 10:55
  • $\begingroup$ @moonboots Thank you very much. Works like a charm after I changed render engine to Cycles, but it's very slow to render. $\endgroup$ Sep 30 at 11:02
  • $\begingroup$ You can stay in Eevee but it will need some parameters tweaking, if you switch to Cycles you can also tweak some parameters to make it quicker $\endgroup$
    – moonboots
    Sep 30 at 11:16

2 Answers 2

  • Add Sun light and enable Contact Shadows under Object Data properties > Shadow.
  • Add Irradiance Volume object and Bake Indirect Lightning under Render Properties > Indirect Lightning.

enter image description here


  • To avoid light rays to penetrate walls add Solidify modifier to these objects.
  • Dont forget to match HDR's sun light direction with Sun object.

In Eevee, the HDRI image doesn't cast any shadow, you need to switch to Cycles, like in the tutorial you link, if you want your HDRI image to cast shadow. If you want to use Eevee you can still use some tricks like creating a light, use a Light Path node for the World (so that it stays visible but doesn't enlight the scene), etc...


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .