Automated: update Replace |
add missing section. |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
A reflection probe component is used to make points in space that makes reflective surfaces within a box around the point show a different reflection map than the skybox. This is useful for controlling the lighting and look of a scene. | A reflection probe component is used to make points in space that makes reflective surfaces within a box around the point show a different reflection map than the skybox. This is useful for controlling the lighting and look of a scene. | ||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|ProbeType|'''[[#Type|Type]]'''|TypeAdv0=true| What mode this reflection probe uses. | |ProbeType|'''[[#Type|Type]]'''|TypeAdv0=true| What mode this reflection probe uses. | ||
Line 28: | Line 28: | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|Bake()|[[Type:Action|Action]]| | |Bake()|[[Type:Action|Action]]| Creates a static cubemap and inserts it into <code>BakedCubemap</code> instead of having <code>ProbeType</code> be set to realtime. | ||
}} | }} | ||
Line 37: | Line 37: | ||
An [[:Category:Enums|Enum]] of "Skybox" or "Color". Color backs the transparent parts of the reflection map with <code>BackgroundColor</code> due to far or near clipping with realtime, or transparent pixels in the provided <code>BakedCubemap</code>. Skybox when selected will instead back transparent parts with the Skybox of the world. | An [[:Category:Enums|Enum]] of "Skybox" or "Color". Color backs the transparent parts of the reflection map with <code>BackgroundColor</code> due to far or near clipping with realtime, or transparent pixels in the provided <code>BakedCubemap</code>. Skybox when selected will instead back transparent parts with the Skybox of the world. | ||
== | == TimeSlicingMode == | ||
{{stub}} | |||
An [[:Category:Enums|Enum]] | |||
== Usage == | |||
== Examples == | == Examples == | ||
Line 43: | Line 48: | ||
== See Also == | == See Also == | ||
[[Category:ComponentStubs]] | |||
[[Category:Components:Rendering{{#translation:}}|Reflection Probe]] | [[Category:Components:Rendering{{#translation:}}|Reflection Probe]] | ||
[[Category:Components{{#translation:}}|Reflection Probe]] | [[Category:Components{{#translation:}}|Reflection Probe]] | ||
[[Category:Components With Nested Enums{{#translation:}}|Reflection Probe]] | [[Category:Components With Nested Enums{{#translation:}}|Reflection Probe]] | ||
Latest revision as of 19:03, 13 November 2024
A reflection probe component is used to make points in space that makes reflective surfaces within a box around the point show a different reflection map than the skybox. This is useful for controlling the lighting and look of a scene.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
ProbeType
|
Type | What mode this reflection probe uses. |
Importance
|
Int | How much priority this probe takes over another probe when two probes overlap |
Intensity
|
Float | how strong or bright the reflection is |
BlendDistance
|
Float | how far the probe will slowly take over the reflection map of objects as an object goes towards the center of influence |
BoxSize
|
Float3 | the area that this reflection probe will affect the reflection maps of objects |
BoxProjection
|
Bool | project the reflection map in a box shape from the reflection probe rather than a sphere. |
BakedCubemap
|
Cubemap | The cube map to replace the refection maps of reflective objects with in the influence area of this reflection probe |
TimeSlicing
|
TimeSlicingMode | |
Resolution
|
Int | the forced resolution of the reflection map from this reflection probe shown in the reflections of shiny objects. |
HDR
|
Bool | |
ShadowDistance
|
Float | how far to render shadows from the reflection probe |
ClearFlags
|
Clear | Whether to use the skybox or color when backing transparent pixels |
BackgroundColor
|
ColorX | The color to clear with when ClearFlags is set to "Color"
|
NearClip
|
Float | The closest distance to render from the reflection probe center when using "Realtime" on ProbeType
|
FarClip
|
Float | The furthest distance to render from the reflection probe center when using "Realtime" on ProbeType
|
ShowDebugVisuals
|
Bool | Shows the box influence area and the center point of this reflection probe |
_debugVisual
|
direct SlotCleanupRef`1<Slot> | The current debug visual that this reflection probe is showing, if applicable. |
Sync Delegates
Method Name | Method type and Arguments. | Description |
---|---|---|
Bake()
|
Action | Creates a static cubemap and inserts it into BakedCubemap instead of having ProbeType be set to realtime.
|
Type
An Enum of "Realtime" or "Baked" realtime renders a new cube map outwards from the center of the probe every second while baked will use the provided BakedCubemap
Clear
An Enum of "Skybox" or "Color". Color backs the transparent parts of the reflection map with BackgroundColor
due to far or near clipping with realtime, or transparent pixels in the provided BakedCubemap
. Skybox when selected will instead back transparent parts with the Skybox of the world.
TimeSlicingMode
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
An Enum