Skip to content

Point light stops working when viewed from long distance #20136

@jnhyatt

Description

@jnhyatt

Bevy version

0.16.1

Relevant system information

Reproduced on multiple GPUs

What you did

I put a point light and some geometry in the scene, then moved far away from it. Minimum repro: https://github.com/jnhyatt/bevy-lighting-bug (uses bevy_editor_cam for easy moving far away)

What went wrong

In the repro, zoom out away from the sphere and eventually the bright spot will disappear instantly. This is incorrect behavior because the light should always affect geometry near it regardless of the camera's position.

Additional information

I tried adjusting the light range to see if that had something to do with it, but to no effect. Tried a couple other random things. I don't really have any leads unfortunately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions