You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manual/graphics/lighting/reflections/env-probe.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,22 +20,28 @@ Alternatively, you can use the *Toolbox* window and drag and drop the environmen
20
20
21
21
| Property | Description |
22
22
|--------|--------|
23
-
|**Cubemap Resolution**|The reflection texture resolution. Can use graphics settings or a custom resolution. |
23
+
|**Box Projection**|If checked, probe will use box-projection for mapping reelections onto the object surfaces. This method suits better for indoor areas. |
24
24
|**Brightness**| Controls the intensity of the reflection color from the probe. Can be used to fade in or out reflections. |
25
+
|**Blend Distance**| The probe shape inner margin over which blend happens to smooth borders. |
25
26
|**Radius**| Reflection probe influence range. |
26
-
|**Update Mode**| The probe update mode. Possible options: <table><tbody><tr><th>Option</th><th>Description</th></tr><tr><td>**Manual**</td><td>Probe can be updated manually (eg. in Editor or from script).</td></tr><tr><td>**When Moved**</td><td>Probe will be automatically updated when it is moved.</td></tr><tr><td>**Realtime**</td><td>Probe will be automatically updated in real-time (only if in view and frequency depending on distance to the camera).</td></tr></tbody></table>|
27
+
|**Sort Order**| The probe rendering order. The higher values are render later (on top).|
27
28
|**Capture Near Plane**| Defines a near clipping plane used for rendering the probe. Use a higher value to clip geometry near the probe. |
28
29
|**Custom Probe**| If specified, the environment probe will use a custom [CubeTexture](http://docs.flaxengine.com/api/FlaxEngine.CubeTexture.html) as a reflection source. |
30
+
|**Capture Offset**| Probe position offset to apply before capturing which can be used to adjust reflections. |
31
+
|**Update Mode**| The probe update mode. Possible options: <table><tbody><tr><th>Option</th><th>Description</th></tr><tr><td>**Manual**</td><td>Probe can be updated manually (eg. in Editor or from script).</td></tr><tr><td>**When Moved**</td><td>Probe will be automatically updated when it is moved.</td></tr><tr><td>**Realtime**</td><td>Probe will be automatically updated in real-time (only if in view and frequency depending on distance to the camera).</td></tr></tbody></table> |
32
+
|**Cubemap Resolution**| The reflection texture resolution. Can use graphics settings or a custom resolution. |
29
33
30
34
To capture the scene around the reflection probe press the **Bake** button. It will render the scene in each of 6 directions into a cube map and filter it. During reflection probe rendering only actors with [StaticFlags.ReflectionProbe](http://docs.flaxengine.com/api/FlaxEngine.StaticFlags.html) enabled will be visible.
31
35
36
+
**View** buton can be used to inspect the cubemap asset.
37
+
32
38
Updated environment probe cube textures are stored in a *SceneData* folder. To read more about scene data, see the `Scene Data storage` section down below.
Flax Engine renders reflection probes into a dedicated buffer using a dedicated pass using a screen space shader. It then mixes the final reflection color into the light buffer. This provides the opportunity to perform high quality **per-pixel relfections color blending**. Rendering starts from drawing probes with the highest radius and then moces to the smaller ones (**probes are sorted by radius**). Reflection color is also being faded on the edges of the probe bounds. This results in a smooth transition and reduces any flickering -- especially for dynamic objects that move quickly through the scene.
44
+
Flax Engine renders reflection probes into a dedicated buffer using a dedicated pass using a screen space shader. It then mixes the final reflection color into the light buffer. This provides the opportunity to perform high quality **per-pixel relfections color blending**. Rendering starts from drawing probes with the highest radius and then moces to the smaller ones (**probes are sorted by radius**). This can be overridden via `Sort Order` property to have more artists control over lighting. Reflection color is also being faded on the edges of the probe bounds. This results in a smooth transition and reduces any flickering -- especially for dynamic objects that move quickly through the scene.
0 commit comments