Skip to content

DirectionalLight create cropped shadow for Sprite3D close to the sprite #53320

@Nymzer

Description

@Nymzer

Godot version

3.3.4 stable

System information

GLES3 and GLES2

Issue description

DirectionalLight create cropped shadow for Sprite3D close to the sprite.

OmniLight and SpotLight create proper shadow.

Steps to reproduce

With a simple light setup with shadow enabled, the issue seem to be only with DirectionalLight. The issue occur even with the light shadow bias property set to 0.

To enable the shadow with alpha transparency on the Sprite3D, we need to go in section Flags the property "Alpha Cut" and select the option "Opaque Pre-Pass". The issue occur with all Flags "Billboard" options selected.

DirectionalLight create cropped shadow for Sprite3D

DirectionalLight create cropped shadow for Sprite3D (2)

Minimal reproduction project

DirectionalLight_Sprite3D_Shadow_cropped_bug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions