Tested versions
v4.2.1.stable.official [b09f793]
System information
Godot v4.2.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 31.0.23013.1023) - AMD Ryzen 7 5700X 8-Core Processor (16 Threads)
Issue description
When using mobile renderer, the cull mode of a material (or a shader) is not respected by shadows:

Steps to reproduce
- Set up a scene with a sun
- Create a plane and disable the cull mode of its material
- Rotate the plane 180 degrees horizontally
- It no longer cast shadows
Minimal reproduction project (MRP)
Cull.zip
Tested versions
v4.2.1.stable.official [b09f793]
System information
Godot v4.2.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 31.0.23013.1023) - AMD Ryzen 7 5700X 8-Core Processor (16 Threads)
Issue description
When using mobile renderer, the cull mode of a material (or a shader) is not respected by shadows:

Steps to reproduce
Minimal reproduction project (MRP)
Cull.zip