Lighting in gear vr

Hello,

is there any particular restriction for lighting in Gear VR? I can get working only direct sunlight. Point lights are not visible. Is there some particular settings I am missing out, or I cannot use them?

Forgive my ignorance, so DirectionalLights = static light, and PointLight = dynamic light? I can see in the Details panel that they both have “Static”, “Stationary” and “Movable” mobility, but changing it doesn’t seem to affect the light’s behaviour on device.

You can only use baked lighting (static lights) for Gear VR. Perhaps direct light source works as fully dynamic, but performance would be bad.

There ya go: Types of Lights | Unreal Engine Documentation read up some docs about types of lights.

Any light can be of any type. I am just saying that every light should be static. If you make Direct light dynamic, you will get real-time shadows from it, but your game will be unplayable on Gear VR due to performance reasons.

Therefore all lights should be set to static type and lightmaps should be baked. You can not have dynamic lighting (at least with real-time shadows) on Gear VR.

Maybe you are using unlit material ?

I used FPS template to start off with and lightmaps were baking fine for me. I added small point lights and they worked (for lightmaps).

Make sure to check static shadows on your point lights (or static lighting?).

Yes, I read the documentation of course :wink: what I’m saying is that I tried setting a point light as static and baking the lights, but it still was not visible on device. I also tried adding a Precomputed Visibility Volume, but it did not work: the only light I could see is the direct light.

Ok, I created a new project using the FPS template, migrated every content from my previous project, and recreated the scene; the lights are working as expected. Still no idea what was wrong with my previous project though.

Ok, I created a new project using the FPS template, migrated every content from my previous project, and recreated the scene; the lights are working as expected. Still no idea what was wrong with my previous project though.

For the sake of speed, if you can fake lights, you should fake lights.
Here’s one of my many fake lighting materials that work on mobile! If you start mixing in normal maps, you can get more detail.

If someone can tell me where should I use this material. On all my static meshes? Thanks

Had the same problem, I did the same (moving my entire level to a new FPS project) but not much improvement, i can see some of the assets but in a very dim light. Spot lights are not showing although defined as Static and not dynamic.