Skip to main content
Up and Coming
May 18, 2013

Rift Skyboxes/ clip distance

I was messing around in my game that uses large distances of view in deep space and I ran into a couple issues. One is that I can't seem to increase the clip plane on the OVR cameras past a certain distance. Is this something that needs to happen after the game starts? I ask because I wanted to cull a layer from one of the OVR cameras and the only way I could do it was to run a script when the game started.

Also, The skyboxes seem to be a real hassle so far. I'm not an artist, so I can't paint a skybox myself, nor can I seem to convert a skybox to Rift-compatible by transplanting the materials. I can always see clearly the corners of the box itself when I do this. Does anyone know of some good pointers on doing this, or know where one can find a space-themed rift skybox? Thanks for reading.
    This topic has been closed for replies.

    3 replies

    Up and Coming
    May 19, 2013
    Not sure if it could be related to your issue, but saw this in another thread:

    One thing I did notice in my project that you may be running into: I'm using multiple OVRCC's, and it seemed like the one with the lowest depth was setting the near/far planes for all of the cameras in my scene. If you're using multiple cameras for any reason you might want to see if that's your issue.


    Also, I didn't initially realize that the OVRCameraController sets the clip planes of the cameras and was futility trying to set those.

    I am doing a large outdoor environment and can't use the skybox workaround supplied in the Tuscany demo. I am also hoping there is some other solution to this.
    LOST LOOT (Pre-Alpha Update #1)
    Up and Coming
    May 19, 2013
    Interesting. I am using the OVR main camera as well as the OVR player controller, but I set every clip distance to what I wanted.
    Riftmax Theater 4D Multiplayer VR Cinema! http://www.riftmax.com - Latest DK2-ready version 0.415(11/27/2014)
    Inspiring
    May 20, 2013
    Check out the skybox solution someone posted here:
    viewtopic.php?f=37&t=844#p10361

    The clip planes should be changed on the 'OVRCameraController', not on the cameras themselves.

    Hope that helps.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV