- Home /
SteamVR: Eye camera does not seem to support depth only; 3D skybox implementation impossible
I am trying to create a 3D skybox for my Vive game using the SteamVR library. Setting up a 3D skybox normally is quite simple: you just need two cameras, with one being at a lower layer, with its culling mask set to show the gameobjects in one layer where your skybox gameobjects live.
The 'main' camera should have its Culling Mask set to ignore this skybox layer, and you set the Clear Flags property to "Depth Only". Then you just need a bit of code to make the skybox camera look where the main camera is looking.
Anyway, this doesn't work using the SteamVR camera. I get very weird results when I set the eye camera to Depth Only. Usually its a sort of kaleidoscope effect.
Does anyone have any ideas for how to fix or workaround this issue?
Answer by slims · May 28, 2016 at 01:16 PM
I fixed this problem by also placing a steamVR camera component on the skybox camera.
This unfortunately solved temporarily. When I reloaded the project this method broke the hierarchy causing weird controllers behaviour.
Your answer
Follow this Question
Related Questions
Setting Vive ipd without using hmd knobs 1 Answer
First Person Player controller for Steam VR 1 Answer
SteamVR first/thirfd person for multiplayer 0 Answers
HTC Vive Controller Twist - Extracting Angular Velocity On The Correct Axis 0 Answers
Steam VR 2.0 - Unity 2018+ Controller tracking & architecture question 1 Answer