Skip to content

Environments

Hollow Man edited this page Dec 2, 2023 · 6 revisions

You may want to iterate rapidly with customizing the environment in Wolvic. In order to do so, you will need one developer tool (adb) and to change a few settings.

Install adb and put the device into Developer Mode

Please follow the instructions here for enabling Developer Mode on the Oculus Quest2.

Uploading a new environment

As long as Enable Environment Override is enabled, Wolvic will look in the /storage/emulated/0/Android/data/com.igalia.wolvic/files/skybox directory for .png, .jpg, or .ktx files.

Environments should be produced in a cubemap format. There are a couple of examples in-tree.

You can push those skyboxes to the above directory on the device using adb. An example of pushing the wolvic skybox from the local PC folder to the above device directory is below:

$ SKYBOXPATH=/storage/emulated/0/Android/data/com.igalia.wolvic/files/skybox
# Remove current skybox files
$ adb shell rm -r $SKYBOXPATH
# Create the directory
$ adb shell mkdir $SKYBOXPATH
$ adb push wolvic/* $SKYBOXPATH

Enabling custom environments

Launch Wolvic. In the Settings panel, select Environments, and turn on Enable Environment Override. The new custom environment should now be displayed.