1

Using directional/ point light will generate light from outside but not from inside the Object.

Example: Sun should be the source of light to the Objects around. Please find the images below to understand the problem statement

Directional Light Example Point Light Example

I'm trying to make the Sun object as the source of light in React-Three-Fiber

shanmuktej
  • 11
  • 1
  • 3

1 Answers1

2

If you make the sun mesh not interact with shadows, the PointLight will illuminate right through it, even when placed in the center.

sun.castShadow = false;
sun.receiveShadow = false;
M -
  • 26,908
  • 11
  • 49
  • 81