Skip to content

directionalLight with shadow create pulsating black stripes in the distance on Android/mobile only #234

Description

@ali-solak

DirectionalLight with castShadow: true on the example physics_car scene creates these stripes on the ground in the far distance. on Android Vulkan. Desktop is not reproducable. The stripes crawl/pulsate

changing shadowDepthBias and shadowNormalBias makes the stripes disappear. which makes it seem to be bias tunable shadow acne.

margin subtracted in material_lighting.glsl:91 (shadow_bias / (7.0 * box)) seems to shrink toward 0 in the distance and far away ground loses its bias and self hadows.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions