Skip to content

Shadow rendering does not respect cull mode on mobile renderer #87644

@atirutw

Description

@atirutw

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:
image

Steps to reproduce

  1. Set up a scene with a sun
  2. Create a plane and disable the cull mode of its material
  3. Rotate the plane 180 degrees horizontally
  4. It no longer cast shadows

Minimal reproduction project (MRP)

Cull.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions