The point light is a light that shoots rays outward uniformly in all directions. The strength of the light decreases as distance from the light increases. A great example of a point light is a light bulb or a torch.
This picture from LearnOpenGL illustrates very well how a point light works:
Change the radius of a point light
You can change the radius of a point light to make it shine over a larger or smaller area. To change the radius:
- Tap to select the light, and the action menu of the light will show up at the bottom.
- Tap the brightness button
from the action menu.
- Drag on the slider to change radius, or enter text directly by tapping on the number pill.
You will notice that the perceived brightness of the light will change with the radius as well. For example, if you increase the radius, the lit area seems to get darker. This is because if the total amount of brightness of the point light does not change, making the light shine over a larger area will decrease the amount of light each spot receives on average. To make the light's brightness look roughly the same after you increase the radius, you also need to increase the total brightness. Watch the following example to see the relationship between radius and brightness in action.
Comments
0 comments
Please sign in to leave a comment.