Spotlight range: I need help to set it dynamically to lighten different distances #14475
-
|
Hi, I have hard time deciding the proper values for the intensity, range. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Short answer: According to the laws of physics (and realistic rendering should be very close to the laws of physics), the total brightness from a light source at any distance is distributed evenly over the sphere regardless of the radius of the sphere (distance). As the radius increases, the area of the sphere increases quadratically, and the brightness decreases proportionally. For example, if the radius/distance is increased by 2 times, the brightness will decrease by 4 times. |
Beta Was this translation helpful? Give feedback.
Short answer: According to the laws of physics (and realistic rendering should be very close to the laws of physics), the total brightness from a light source at any distance is distributed evenly over the sphere regardless of the radius of the sphere (distance). As the radius increases, the area of the sphere increases quadratically, and the brightness decreases proportionally. For example, if the radius/distance is increased by 2 times, the brightness will decrease by 4 times.
You can read in more detail in the article: Physically Based Rendering in Filament at chapter 5.2.2.2 Spot lights