RealityStack Environment
Overview
RealityStack Environment Example is a collection of copyright-free 3D models, scenes, and lighting setups designed for easy reuse in your Unity projects. Whether you're prototyping a demo, creating visualizations, or testing mechanics, this package provides a basic foundation to enhance your workflow.
Contents
- 3D models and environment assets created by the RealityStack Group
- Third-party copyright-free 3D models and materials assets
- Pre-configured scenes with optimized lighting
- Pre-configured rendering settings (URP) for Desktop, PCVR and standalone VR
Rendering pipelines
- Universal Render Pipeline (URP) 14.0.11.
- The package was created with Unity 2022.3.59f1 and is expected to be compatible with Unity 2022.3+ versions and URP 14.0+, as long as they do not deviate significantly from these versions.
- Compatibility with Unity 6.0+ has not been verified. If issues arise, particularly with lighting, create new light settings, adjust based on the current configuration and rebake the lighting.
Getting Started
You can install the package using the repository URL. Follow the step-by-step guide to integrate the package.
1. Install the Package with Git URL
You can install the package using the Git URL.
-
Go to Unity > Window > Package Manager.
-
Click the "+" button at the top left and select Add package from git URL.
-
Paste the following URL and click "add":
https://gitlab2.informatik.uni-wuerzburg.de/hci-development/realitystack/realitystack-lighting-and-environment.git
Note: By default, the main branch of this repository will be pulled. If you need a specific branch, replace the Git URL with the URL of the desired branch.
2. Render Pipeline Settings
Depending on your build target, select the appropriate Render Pipeline Asset:
- In Unity Editor, go to Edit > Project Settings > Graphics.
- Replace the Scriptable Render Pipeline Settings with one of the three Universal Render Pipeline Assets under
Packages/RealityStack Lighting and Environment/Settings
: Desktop, PCVR, or StandaloneVR. - You can also define them per Quality level under Edit > Project Settings > Quality.
3. Copy Scenes to Your Assets Folder
The package contents are read-only by default. To modify or customize the scenes, copy them from Packages/RealityStack Lighting and Environment/Scenes
to a folder of your choice within the Assets
directory. You can also copy and use prefabs from Packages/RealityStack Lighting and Environment/Assets/Prefabs
in your project.
4. Re-bake Lighting
It is recommended to re-bake a scene the first time you import the package, as the previously baked lightmaps may vary from your project settings. You should also re-bake the lighting when you add static GameObjects to the scene or want to adjust the baked lights.
- In Unity Editor, go to Window > Rendering > Lighting > Scene.
- For Lighting Settings, select the Lighting Settings in
Packages/RealityStack Lighting and Environment/Settings
. Ensure that the Lightmapper is set to Progressive GPU. - If this scene is a copy and you don't want to overwrite the lighting of the original scene:
- Go to Window > Rendering > Lighting > Baked Lightmaps and remove the Lighting Data Asset. A new asset will be generated in a folder next to your new scene.
- Go back to Window > Rendering > Lighting > Scene and click Generate Lighting.