Cubemap
- Last UpdatedFeb 21, 2024
- 2 minute read
The Cubemap is a service node for use inside XR Studio graphic context editor to generate cubemap files during development, rather than to be included in a delivery. Cubemap textures are generally used to manage reflections.

Platform support
This node is supported on XR-Windows platform only.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Full support |
No support |
No support |
No support |
No support |
|
|
|
|
|
|
Generate CubeMap files
-
In XR Studio, add a CubeMap node to the target graphic context.
-
Position the cubemap probe in the correct position.
-
Set the nearPlane and farPlane camera settings and textureDetails.
-
Specify the destination file.
-
Trigger generation by script, debug, or CubeMap node context menu in the Graphic Context Editor.

CubeMap fields
These are the fields for Cubemap node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > FTCubemap
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
_debug |
sbool |
Optional |
false |
Shows line 3D debug elements. |
|
detail |
senum |
Optional |
Highest |
Specifies the generated cubemap detail level as Highest, High, Medium, Low, or Lowest. |
|
farPlane |
sfloat |
Optional |
100 |
The camera far plane. |
|
file |
sstring |
Optional |
Textures/user/Textures/namePath and file name of the texture (without extension) relative to Gamedata folder |
|
|
generate |
sevent |
Optional |
1 |
Triggers cubemap generation. |
|
nearPlane |
sfloat |
Optional |
1 |
The camera near plane. |