灯光设置#
参考
- 面板:
Besides lighting from the background and materials with emission shaders, lights are another way to add light into the scene. The difference is that they are not directly visible in the rendered image, and can be more easily managed as objects of their own type.
See Light settings for settings common to all renderers.
阴影#
EEVEE uses a technique called Virtual Shadow Mapping along with Shadow Map Raytracing. Virtual Shadow Mapping produces more accurate results than traditional shadow mapping by putting resolution only where it is needed. It also includes a very efficient caching mechanism. This technique offers better performance than ray tracing and is compatible with any Render Method.
Tip
The error message Shadow buffer full means that the system cannot allocate enough shadow memory. Increasing the Shadow Pool Size or the Resolution Limit on some lights can fix the issue. Otherwise, the only workaround is to disable shadow casting on some lights.
Shadow Map Raytracing can be tweaked in the Render Settings.
Turning on Jitter can reduce the light leaking artifacts caused by large lights and Shadow Map Raytracing.
See also
限制。
- 抖动
Enable jittered soft shadows to increase shadow precision. Has a high performance impact as the shadow map cannot be cached and needs to be updated for each render sample.
Note
The effect isn't visible by default in the viewport. See render settings.
- 超模糊
对每个抖动的采样应用阴影跟踪,以减少采样不足的失真伪影。
Note
Any value higher than zero will result in a blurrier shadow and is not physically correct.
- 过滤
Blur shadow aliasing using PCF with a circular kernel. The effective world scale of the filter depends on the shadow map resolution at the shadowed pixel position.
Note
Any value bigger than 1px will increase the chances of light leaking artifacts.
- 精度限制
Minimum size of a shadow map pixel. Higher values use less memory at the cost of shadow quality. Higher values also speed-up rendering of heavy scenes. Each shadow is scaled depending on the shadowed pixel on screen. This can create very sharp shadows but also requires a lot of memory if the shadowed pixel is close to the camera. This property limits the maximum amount of detail that the shadow map can capture.
Note
Reducing the shadow map resolution will increase the chances of light leaking artifacts.
- 绝对精度限制
Limit the resolution at 1 unit from the light origin instead of relative to the shadowed pixel. This makes Resolution Limit act as a regular shadow map pixel size.
Hint
With this option enabled, the following equation can be used to set the Resolution Limit with a desired resolution:
\[resolution\_limit = 2 * \sqrt{2} / resolution\]The \(2 * \sqrt{2}\) refers to the unit cube diagonal and \(resolution\) refers to the desired resolution (e.g. 1024px).
Note
The setting Absolute Resolution Limit does not exist for Sun Light.
影响#
These parameters modulate the intensity of the light depending on the shader type. These are meant for artistic control, and any value other than 1.0 breaks PBR rules.
- 漫反射
Diffuse reflection intensity multiplier.
- 光泽
Glossy light intensity multiplier.
- 透射
Transmission light intensity multiplier.
- 体积散射
Volume light intensity multiplier.
自定义距离#
If enabled, uses Distance as the custom attenuation distance instead of global Light Threshold. In order to avoid long setup times, this distance is first computed automatically based on a light threshold. The distance is computed at the light origin and using the inverse square falloff.
- 距离
指定光线强度衰减到零的距离。
Note
The setting Custom Distance does not exist for Sun Light.
See also
全局 光照阈值。