Skip to content

Switch to Raycasted Shadows #49

Description

Activity

  1. pushfoo commented on Feb 16, 2023

    @pushfoo
    Member

    The referenced effect runs extremely slowly on my system due to a weak GPU. We may want to look into optimizing it or offering graphics settings options in the game's menus.

  2. einarf commented on Feb 16, 2023

    @einarf
    Member

    There are more efficient tricks such as "spherical projection" (done in pixel shader) creating a 1D array. This array is wrapped around a full circle to look up shadow values. It can be pre-computed for static environment lights that don't cast shadows on moving objects.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions