how can i make light pass through a mesh

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By umma

i have a low poly tree with two pictures as leaves, but it pitch black on the sides that light is not reaching. is there a way i could let light pass through some to reach the others?

:bust_in_silhouette: Reply From: klaas

have look here …

okay i will give it a try.

umma | 2021-07-13 23:17

:bust_in_silhouette: Reply From: Snail0259

You can use baked lightmaps for more realistic and higher quality lighting:

i would do this but i would have to animate it all the time, because the game has day and night cycles. I think I will use the option below. thanks for responding.

umma | 2021-07-13 23:18

:bust_in_silhouette: Reply From: Calinou

This is because your scene has no indirect lighting, and presumably no environment lighting from the sky to light up shaded areas.

You need to set up some kind of global illumination solution such as GIProbe (GLES3 only) or baked lightmaps (GLES3 and GLES2). Alternatively, you can:

  • Set the ambient lighting color to a non-black color in WorldEnvironment (and set Sky Contribution to 0 so it can be seen).
  • Set the light’s Shadow Color property to a non-black color to make shadows not fully black.
  • Add shadow-less OmniLights or SpotLights in the scene at specific locations to fake indirect lighting.