Environment Integration Guide
This document explains how to configure and integrate a new environment into the project.
This guide covers the following topics:
- Asset preparation and file organization.
- Level and sublevel organization.
- Static Mesh, texture, and material configuration.
- Environment setup and placement.
- Lighting setup for Android and Windows.
- Performance optimization and validation in VR.
1. Asset Preparation
Important: All models, materials, textures, and other assets that you add or duplicate from AOB! must be saved in the mod folder created using the Game Creation Wizard.
We recommend creating an Environment folder at the root of your mod to organize the room assets.

1.1. File Organization
You can organize the environment assets into the following folders:
Environment/Meshes.Environment/Material_Instances.Environment/Textures.
2. Level Organization
The map must follow the project's level structure.
Inside the Maps folder, you will find the levels generated for your map. Open Map_(Name), which will be the Persistent Level.
To view and manage the different levels:
- Find the Levels tab next to Outliner. If it is not visible, go to Window → Levels.
- Identify the three levels you will work with:
Map_(Name)_Environment: 3D environment content.Map_(Name)_Light_Android: Android lighting level.Map_(Name)_Light_Windows: Windows lighting level.
2.1. Persistent Level
The Persistent Level is the main map level and contains the other levels.
Do not place environment assets or lighting actors directly in it. Use the appropriate level for each type of content.
Manage the active level using Current Context, and always check which level is selected before making changes.

If you need to move actors between levels:
- In the Current Context panel, select the working level (for example,
Map_(Name)_Environment). - Select the actor you want to move in the World Outliner or viewport, even if it currently belongs to another level (for example, the Persistent Level).
- Press Ctrl + M to move the selected actor to the level specified in Current Context.
- Check that Selected Actors in, under Current Context, now displays
Map_(Name)_Environment.
2.2. Environment Level
This is the level where you will import, place, and organize all the 3D assets that make up the room, including architectural elements and props.
To keep the content organized, we recommend creating an Environment folder in the Outliner and grouping the corresponding actors there.
Avoid adding assets that do not belong to the 3D environment.
2.3. Lighting Levels
The project separates lighting into two levels: one for Android and one for Windows. Keep this structure and place each lighting actor in the corresponding level:
Map_(Name)_Light_Android: contains the lighting setup for Android, including Meta Quest.Map_(Name)_Light_Windows: contains the lighting setup for Windows and PC VR.
Both levels work with the BP_LevelStreamingLight Blueprint, which manages their loading according to the project configuration. Its setup is explained in section 5.
3. Asset Preconfiguration
3.1. Static Meshes
Before placing models in the scene, check that they are configured correctly for baked lighting.
3.1.1. Lightmap UVs
Typically, UV channel 0 is used for material textures and UV channel 1 for lightmaps. Verify the configuration of each asset.
If you need to generate lightmap UVs, there are two options:
- In a 3D editing application: create a second UV channel specifically for lightmaps. If it has already been generated correctly, there is no need to generate it again in Unreal.
- In Unreal Engine: when importing the Static Mesh, go to the Build section and enable Generate LightmapUVs.
Automatic generation may cause overlapping UV issues. We recommend importing models separately to generate a clean UV map.
Lightmap Resolution
Adjust the resolution according to the mesh size and the level of lighting detail required. Avoid excessively high resolutions, as they increase memory usage.
3.1.2. Collisions
Unreal can automatically generate simple collision when importing a model. Check that it fits the geometry and intended use of the object; adjust it if necessary.
3.2. Texture Configuration
Review the properties of imported textures according to their intended use.
Check or configure the following settings correctly:
- MipGen Settings: From Texture Group
- Texture Group: World
- If no Alpha is used: Compress Without Alpha
- Compression Settings: Default (BC1 or BC3 with A)
- Make sure environment textures use power-of-two dimensions.
- Enable sRGB for color textures, such as Base Color, and disable it for non-color data, such as Normals and other data maps.
- Use the appropriate compression for normal maps:
- MipGen Settings: From Texture Group
- Texture Group: WorldNormalMap
- Compression Settings: Normal (BC5)
- Avoid using unnecessarily high resolutions for small objects or surfaces that occupy only a small portion of the screen.
3.3. Master Materials and Material_Instances
Once the textures are configured, assign the appropriate materials to the Static Meshes.
The AOB! Modkit includes the Master Material M_Env_01_BasicMaterial, which you can use as a starting point to create materials for your environment.
You can also create your own Master Material and generate instances to modify its parameters without duplicating the entire material configuration.
Important: Any new material or instance you create must be saved inside your mod folder.
4. Environment Setup
Before placing assets, set Current Context to Map_(Name)_Environment.
4.1. Environment Placement
Drag your assets into the scene or duplicate them. Keep the environment centered and consistently positioned around the table.
4.2. Collision Setup
Collisions are especially important in VR, as players can get very close to walls or become blocked by nearby objects.
- Add collision to floors and walls that need to block game elements.
- Use simple collisions whenever possible. Avoid complex collisions.
- Disable collision on decorative elements that do not need it.
- Check that players cannot pass through walls, fall through the floor, or become trapped between objects.
4.3. Environment Sphere/Cube
If you want to create an environment using an HDR/EXR, you can use SM_000AOB_SkySphere. For a Cubemap, you can use SM_000AOB_SkyBox.
Both are used with the Master Material M_Skymap.
5. Lighting Setup
The project uses two independent lighting configurations: one for Android and one for Windows. Each has its own level and must be configured separately to suit the characteristics of each platform.
Before modifying lights, check which level you are editing using Current Context.
5.1. Android Lighting
Select the Map_(Name)_Light_Android level.
For mobile VR, the project prioritizes static and baked lighting to reduce runtime lighting costs.
Review the lights in the scene and check the following parameters:
- Light Type: Directional, Point, or Spot, depending on the room's needs.
- Mobility: use Static, following the project workflow.
- Intensity and Light Color: adjust intensity and color to achieve the desired lighting.
- Attenuation Radius: configure the range of Point and Spot lights.
- Source Radius / Source Angle: adjust these values when applicable to the light type.
- Indirect Lighting Intensity: adjust the indirect lighting contribution when applicable.
5.2. Windows Lighting
Select the Map_(Name)_Light_Windows level.
Here you must configure the lighting for the Windows and PC VR version.
You can duplicate the Android lights and move them to Windows. Review the same parameters as on Android.
Settings must be validated independently to achieve the expected visual result on PC.
Adjust the lighting to the visual needs of the scene and check for unwanted differences in exposure, shadows, or object readability.
Do not assume that a setup that works correctly on Android will produce exactly the same result on Windows, or vice versa.
5.2.1. Windows Post-Processing
In the World Outliner, inside the Light_Window folder, you will find the TonemapperOFF system.
Do not remove it from the scene: this post-processing helps balance Windows lighting with Android lighting. If your mod will only be used on Windows, you can decide whether you prefer to remove it.
5.3. Lightmaps and Baked Lighting
Once you have configured the required lights, go to the Build section. Here you will find:
- Lighting Quality: the section used to bake lighting at different quality levels.
- To reduce calculation times, we recommend starting with Low or Medium lighting quality during initial tests and stages.
- As you refine the environment and adjust the lighting, progressively increase the quality up to Production for the final build.
- Build Lighting Only: the main button for building lighting. Selecting it starts the lighting bake. Do not modify or interact with scene elements until it finishes.
If you modify meshes, move them, change UVs, lights, or lighting parameters, generate the baked lighting again.
5.4. BP_LevelStreamingLight Configuration
The BP_LevelStreamingLight Blueprint manages the loading of lighting levels.
Check that the assets for each platform are associated with the corresponding level and that the Blueprint is configured to load them:
- Windows Light Level must be set to
Map_(Name)_Light_Windows. - Android Light Level must be set to
Map_(Name)_Light_Android.

6. VR Performance Optimization
In VR rooms, it is especially important to control the number of actors, draw calls, material complexity, and the amount of geometry rendered simultaneously.
6.1. Optimization Using Merge Actors
In Unreal Engine, you can combine two or more Static Mesh actors into a single new Static Mesh using the Merge Actors tool.
6.1.1. Grouping by Planes
Group meshes according to their position and the plane of the room to which they belong:
- Front plane: front wall and associated props.
- Right plane: right wall and associated props.
- Left plane: left wall and associated props.
- Rear plane: rear wall and associated props.
- Floor: geometry belonging to the floor.
- Ceiling: geometry belonging to the ceiling.
The goal is to keep elements from different planes separate so that parts not visible from the player's position can be culled more effectively.
Avoid merging all four walls, the floor, and the ceiling into a single mesh, as this can reduce efficiency.
How to Merge Actors
- In the level viewport or World Outliner, select the actors you want to merge.
- From the top menu bar, go to Actor → Merge Actors.
- Open Settings to review and adjust the options for generating the new asset.
- Select the Merge method, which is recommended based on testing carried out in the project.
- Select a destination folder inside your mod folder.
Once the actors have been merged, review the new merged Static Mesh:
- Check that geometry and materials have been preserved correctly.
- Verify that lightmap UVs are present.
- Check collisions and adjust them if necessary.
- Remove the original actors from the scene and place the new merged asset.
6.2. Other Optimization Measures
- Remove hidden or unnecessary geometry.
- Use levels of detail (LODs) when they provide an improvement.
- Reuse materials and material instances.
- Reduce the number of unnecessary unique materials.
6.3. Performance Validation
Use Unreal logging and profiling tools to monitor CPU, GPU, rendering, and memory if you experience FPS-related latency issues in your mod.
Useful tools:
stat unit: overview of frame times.stat fps: frame-rate monitoring.stat rhi: rendering hardware interface statistics.stat scenerendering: scene rendering statistics.- Unreal Insights: detailed CPU and system analysis.