光线追踪¶
参考
- 面板:
The ray-tracing pipeline goal is to increase the accuracy of surface indirect lighting. This is done by generating ray from each BSDF and finding their intersection with the scene individually.
When disabled, it is replaced by a faster pipeline that uses pre-filtered light-probes. This fallback mode offers a more visually stable and optimized alternative when visual fidelity is not the primary goal.
See also
限制。
- 方法
Determine the tracing method used to find scene-ray intersections and indirect lighting.
- 光照探头:
Use light-probe spheres and planes to find scene intersection. This option has the lowest tracing cost but relies on manually placed light-probes.
- 屏幕追踪:
Trace ray against the screen depth buffer. Fallback to light-probes if ray exits the view.
- 分辨率
Resolution at which the ray-tracing is performed. Lower options will be faster and use less memory but will produce blurrier results.
屏幕追踪¶
这些设置用于控制屏幕空间光线追踪的行为。只有当 屏幕追踪 是当前启用的追踪 方法 时,这些设置才可用。
- 精度
控制屏幕空间光线追踪的精度。
较高的数值可以提高交点精度并减少伪影,但会降低最大追踪距离并增加性能开销。
- 厚(宽)度
控制在光线追踪过程中,深度缓冲区所表示的表面被假定具有多大的厚度。
较高的数值可以减少交点遗漏,但可能会拉伸反射光并增加闪烁。较低的数值能提供更精确的交点,但可能会导致光线漏过薄表面。
- 背面
控制如何处理与可见几何体背面相交的光线。
启用后,背面交点将被视为有效命中而非未命中。这可以在使用屏幕空间全局光照时减少光泄漏。
- 辐射比例
控制前表面光照中有多少会被复用,以模拟后表面受光时的间接光照效果。
较小的数值会降低背面命中所占的比例,而较大的数值则会增加其影响。
降噪¶
Denoising can be enabled to reduce the amount of noise from the raw ray-traced output. This can help image stability but will also over-blur the final ray-traced output.
- 空间复用
Reuse the rays from neighbor pixels. Can introduce some light leaks across surfaces.
- 时序累积
Accumulate samples by re-projecting the last ray tracing results. This removes Fireflies but also introduces color bias. Useful for viewport temporal stability or making renders converge faster.
- 双边过滤
Blur the resolved ray-traced output using a bilateral filter.
快速GI近似¶
Fast GI Approximation is a fallback to the ray-tracing pipeline for BSDF with high roughness. It produces a less noisy output and captures bounce lighting more efficiently than individually traced rays.
This is currently implemented as a screen space effect and will inherit all associated limitations.
- 阈值
Maximum roughness a BSDF can have to use ray-tracing. BSDFs with higher roughness will progressively use the Fast GI Approximation. A value of 1 will raytrace every surfaces and disable the Fast GI.
- 方法
Determine the method used to compute the fast GI approximation.
- 环境光遮蔽:
Use scene intersections to shadow the distant lighting from light-probes. This is the fastest option.
- 全局照明:
计算全局照明,考虑周围物体的反弹光线。
- 分辨率
Resolution at which the fast GI is computed. Lower options will be faster and use less memory but will produce blurrier results.
- 光线数量
Number of GI rays per pixel at the specified Resolution. Higher values will reduce noise.
- 步数 (阶梯)
Number of screen samples per GI ray. Higher values will reduce the noise amount and increase the quality.
Tip
With a higher step count, there is less chance to miss other surfaces that could reflect or block the light. This means that the Fast GI Thickness parameters can be tweaked to lower values without losing too much light bounce energy.
- 精度
Higher values increase the precision of the scene intersections with the GI rays. Increased precision also increases performance cost.
- 距离
如果不为零,则表示其他表面对快速 GI 近似值有影响的最大距离。
- 厚度 近端
Geometric thickness of the surfaces when computing fast GI and ambient occlusion. Reduces light leaking and missing contact occlusion. The effectiveness decreases proportionally to the distance from the shading point, following the inverse square law.
- 远端
Angular thickness of the surfaces when computing fast GI and ambient occlusion. Reduces energy loss and missing occlusion of far geometry. Higher values will make the very thin objects block or reflect too much light.
- 偏移
偏移着色法向以减少自相交伪影。