r/oculusdev • • Jan 18 '24

Improved Light Performance

Hello, I'm working on a game in unity that takes place in a dark environment. I have three guards walking around with flashlights that need to cast shadows so that the light does not clip through the walls. The Quest 3 can handle this but this kills the performance on the Quest 2. Is there a known way to "fake" the lights? If anybody knows a good way to achieve fake Realtime flashlights that would be very helpful. Thanks.

5 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/GGAPP_S Jan 18 '24

Specifically the asset was https://assetstore.unity.com/packages/vfx/shaders/volumetric-light-beam-99888 with the depth buffer so it acts like a light when it comes to occlusion. It doesn't actually light up the scene but it works for my use case.