Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
dummyboy's avatar
dummyboy
Honored Guest
9 years ago

Gear VR and dynamic shadows

Hi,

I am working on the game that really needs dynamic shadows for the gameplay (though only small part of the view needs to have shadows so I am not concerned about performance).

I have set everything up to have my directional light cast shadows. It work on GoogleVR without any issue, but no luck with Gear VR. All my geometry is very dark as if it was unlit or in shadows.

Is there any way to make dynamic shadows work with GearVR?

Cheers,
Marcin

3 Replies

Replies have been turned off for this discussion
  • I had dynamic lights working fine through Unity on GearVR in 5.3.4 and earlier. After 5.3.5 and in 5.4, I could not include any dynamic shadows without having severe performance problems. For example, I had a pop up window in front of static geometry that had cast shadows turned on and I would get severe stuttering when I turned my head on gear. The static geometry was all baked lighting.

    I'm not sure if it's just something to do with mixing baked/real-time lighting in Unity, or something in the VR engine code itself, but we ended up dropping all dynamic shadows from the Gear version of our project. We now just use blob shadow projectors. You could try dynamic shadow projectors though (in Unity, https://www.assetstore.unity3d.com/en/#!/content/35558 but I couldn't get it to work in VR).