Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
BlenderAlien's avatar
BlenderAlien
Explorer
1 year ago

How do you use Unreal Engine Dynamic Shadows?

So I've been struggling to get some dynamic shadows running on my Unreal 5.2.1 project,

and I really want to use at least a few of them in my horror game, especially since the Quest 3's

GPU is approaching usable territory in that regard.

 

Unreal's documentation points out, that only modulated shadows are supported on mobile Vulkan.

I read up on them, and they work well enough for me and I do get them to work in the editor,

meaning with Android Vulkan - Preview enabled, I do see modulated shadows like I desire, but once running

the APK on my Quest 3 / Quest Pro, everything looks the same except there are no modulated shadows.

 

I've tried a number of things like switching to OpenGL ES3.2 which didn't work. I would greatly appreciate any input here, especially from META themselves, as it looks like the HMD is deliberately getting rid of any dynamics shadows when running the APK. 

 

Thx in advance

3 Replies

  • Dingenonma's avatar
    Dingenonma
    Expert Protege

    I am also really interested into this... it's almost one year trying it. It's incredible there's no actual documentation or reliable info from official or not... I have tried dozens of things without succeeding. Pleaseeee ... Is there anybody out there? 🙂

  • Amb8's avatar
    Amb8
    Honored Guest

    Yo yo, Necropost, but I've found something that somewhat works on UE 5.3 and hopefully this helps for future ppl stumbling upon this post. 

    the fix is to turn on exclusively CSM shadow in you projectand this is how you do it.

    • Go to your world settings, set this setting 
    • then on your project settings set all these settings  
    • Finally add a directional light into your scene and change these settings

      • you can play around with some of these values, the one you strictly need is for it to be movable. shadow distance is a bit weird, if you set it too high shadows close to you becomes so blurry you can't see it, turn it too low and you can't see shadows too far from you. 


    in Combination with some static lighting it looks ok. Just bear in mind that for whatever reason all the scalability settings are stuck on low on the quest 3 so you're stuck with low quality lighting. But Hey! Quest 3 don't seem to care having these settings on and you do end up with a half decent result.


    End Result: